Update docker-compose.yml

This commit is contained in:
Egor
2025-09-01 22:50:17 +03:00
committed by GitHub
parent d3b240eae3
commit 4f94b25182
+3 -8
View File
@@ -49,8 +49,8 @@ services:
DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER:-remnawave_user}:${POSTGRES_PASSWORD:-secure_password_123}@postgres:5432/${POSTGRES_DB:-remnawave_bot} DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER:-remnawave_user}:${POSTGRES_PASSWORD:-secure_password_123}@postgres:5432/${POSTGRES_DB:-remnawave_bot}
REDIS_URL: redis://redis:6379/0 REDIS_URL: redis://redis:6379/0
volumes: volumes:
- ./logs:/app/logs - ./logs:/app/logs:rw
- ./data:/app/data - ./data:/app/data:rw
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
@@ -58,12 +58,7 @@ services:
- "${YOOKASSA_WEBHOOK_PORT:-8082}:8082" - "${YOOKASSA_WEBHOOK_PORT:-8082}:8082"
networks: networks:
- bot_network - bot_network
healthcheck: user: "1000:1000"
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes: volumes:
postgres_data: postgres_data: