fix: postgres container volume
This commit is contained in:
@@ -30,7 +30,7 @@ services:
|
|||||||
POSTGRES_USER: myuser
|
POSTGRES_USER: myuser
|
||||||
POSTGRES_DB: pathtoglory
|
POSTGRES_DB: pathtoglory
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/home/arthur/sources/node/pathtoglory/postgresql/data
|
- ./postgres:/var/lib/postgresql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||||
interval: 1s
|
interval: 1s
|
||||||
@@ -66,5 +66,4 @@ networks:
|
|||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
|
||||||
rss-data:
|
rss-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user