Update healthcheck to use APP_PORT environment variable

Replace hardcoded port 80 with APP_PORT variable for better flexibility.
This commit is contained in:
PyRowMan
2024-12-27 01:11:04 +01:00
parent abf8bc2440
commit 5cf4f48477
+1 -1
View File
@@ -11,7 +11,7 @@ services:
environment:
TZ: ${APP_TIMEZONE}
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:80" ]
test: [ "CMD", "curl", "-f", "http://localhost:${APP_PORT:-80}" ]
interval: 10s
timeout: 5s
retries: 5