add persistance to Postresql container
parent
ed22f65b3c
commit
4512fde181
|
@ -3,6 +3,8 @@ services:
|
|||
db:
|
||||
restart: always
|
||||
image: postgres:alpine
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
redis:
|
||||
restart: always
|
||||
image: redis:alpine
|
||||
|
|
Loading…
Reference in New Issue