deploy: use docker healthcheck

This commit is contained in:
2026-05-15 21:59:06 +04:00
parent 310d5abb8b
commit 66d8ed1e00
2 changed files with 8 additions and 14 deletions
+6
View File
@@ -11,6 +11,12 @@ services:
- "4000:4000"
env_file: .env
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:4000"]
interval: 10s
timeout: 5s
retries: 12
start_period: 30s
networks:
- konstitisyon_network
networks: