Skip to content

Commit

Permalink
Revert "fixup: Do healtcheck on the rest api instead of the login form"
Browse files Browse the repository at this point in the history
This reverts commit dc52db7.
Health check will fail if mandatory login (the default) is enabled
due to /api/status returning 403 and / returning the expected 302 to
/login.
  • Loading branch information
tacerus committed Feb 27, 2025
1 parent e11d181 commit 663086e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ services:
- ./branding/SUSE_NetBox_Pos.svg:/opt/netbox/netbox/static/logo_netbox_dark_teal.svg:ro
- ./templates/login.html:/opt/netbox/netbox/templates/login.html
restart: unless-stopped
healthcheck:
test:
- CMD
- curl
- "-f"
- http://127.0.0.1:8080/api/status/?format=json
netbox-worker:
env_file: /etc/opt/netbox-docker/netbox.env
image: netbox:${TAG}
Expand Down

0 comments on commit 663086e

Please sign in to comment.