Обновить docker-compose.yml

This commit is contained in:
2026-06-22 11:02:33 +03:00
parent a59c3a1163
commit 4b19dd2382
-10
View File
@@ -5,18 +5,8 @@ services:
image: postgres:16-alpine image: postgres:16-alpine
container_name: family_safety_db container_name: family_safety_db
restart: unless-stopped restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: family_safety
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
app: app:
build: . build: .