- fix docker-compose.yml
This commit is contained in:
@@ -11,12 +11,6 @@ services:
|
||||
POSTGRES_DB: family_safety
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
app:
|
||||
build: .
|
||||
@@ -24,9 +18,6 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9090:9090"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user