Update docker-compose.yml
This commit is contained in:
@@ -14,6 +14,7 @@ services:
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
image: postgres:13
|
||||
@@ -23,13 +24,4 @@ services:
|
||||
- POSTGRES_DB=docupulse
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "PGPASSWORD=postgres pg_isready -U postgres -d docupulse"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
uploads:
|
||||
Reference in New Issue
Block a user