This commit is contained in:
2026-09-18 02:52:01 +07:00
parent d255860b76
commit 1304bbacff
2 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
version: '3.8'
services: services:
# Сервис базы данных PostgreSQL для проекта "Вечерний детектив" # Сервис базы данных PostgreSQL для проекта "Вечерний детектив"
@@ -20,7 +18,7 @@ services:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d evening_detective_server -h localhost"] test: [ "CMD-SHELL", "pg_isready -U postgres -d evening_detective_server -h localhost" ]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
-2
View File
@@ -1,5 +1,3 @@
version: '3.8'
networks: networks:
app_network: app_network:
driver: bridge driver: bridge