mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 14:17:18 +00:00
add hc for coolify
This commit is contained in:
1 parent
ebba7f7ecb
commit
2fb8d928e5
2 files changed
+12
-2
No files matched your search
@@ -27,6 +27,13 @@ services:
|
||||
- SSL_MODE=off
|
||||
ports:
|
||||
- "${APP_PORT:-8000}:80"
|
||||
expose:
|
||||
- "${APP_PORT:-8000}"
|
||||
healthcheck:
|
||||
test: curl --fail http://localhost:80/api/health || exit 1
|
||||
interval: 4s
|
||||
retries: 5
|
||||
timeout: 2s
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in new issue
Block a user