Fixing docker-compose dependency checking

This commit is contained in:
2026-04-06 23:29:57 -04:00
parent f87467104d
commit 7dcdf0d918
2 changed files with 419 additions and 21 deletions

View File

@@ -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"]