Skip to content

Commit

Permalink
fix: πŸ› Add healthcheck to Nautobot service
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrew82 committed Apr 10, 2024
1 parent e2a7b7d commit 7f1980a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions environments/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ services:
volumes:
- "../config/nautobot_config.py:/opt/nautobot/nautobot_config.py"
- "../jobs:/opt/nautobot/jobs"
healthcheck:
interval: "30s"
timeout: "10s"
start_period: "60s"
retries: 3
test: ["CMD", "true"] # Due to layering, disable: true won't work. Instead, change the test
celery_worker:
volumes:
- "../config/nautobot_config.py:/opt/nautobot/nautobot_config.py"
Expand Down

0 comments on commit 7f1980a

Please sign in to comment.