Merge pull request #1223 from tobiasge/1222-fix-health-check

Fix #1222: Use /login/ as health check URL
This commit is contained in:
Tobias Genannt 2024-05-07 08:37:20 +02:00 committed by GitHub
commit 53ac2ff81b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ services:
start_period: 60s start_period: 60s
timeout: 3s timeout: 3s
interval: 15s interval: 15s
test: "curl -f http://localhost:8080/api/ || exit 1" test: "curl -f http://localhost:8080/login/ || exit 1"
volumes: volumes:
- ./configuration:/etc/netbox/config:z,ro - ./configuration:/etc/netbox/config:z,ro
- netbox-media-files:/opt/netbox/netbox/media:rw - netbox-media-files:/opt/netbox/netbox/media:rw