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