Fixing docker-compose dependency checking
This commit is contained in:
@@ -28,12 +28,6 @@ services:
|
||||
- POSTGRES_DB=pcloud_db
|
||||
volumes:
|
||||
- ./keys:/app/keys:ro
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U user -d pcloud_db"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
|
||||
account-manager:
|
||||
build:
|
||||
@@ -94,7 +88,8 @@ services:
|
||||
- POSTGRES_PASSWORD=password
|
||||
- POSTGRES_DB=pcloud_db
|
||||
volumes:
|
||||
- ./db/db_data:/var/lib/postgresql/data
|
||||
- db_data:/var/lib/postgresql/data
|
||||
# - ./db/db_data:/var/lib/postgresql/data
|
||||
- ./db/initsql:/docker-entrypoint-initdb.d # Maps the whole folder!
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U user -d pcloud_db"]
|
||||
|
||||
Reference in New Issue
Block a user