Skip to content

Commit

Permalink
Commented out celery worker because it was breaking CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tsm1th committed Dec 16, 2024
1 parent 03dcfc2 commit bc291d7
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,24 @@ services:
- "redis"
<<: *nautobot-base
worker:
entrypoint:
- "sh"
- "-c" # this is to evaluate the $NAUTOBOT_LOG_LEVEL from the env
- "nautobot-server celery worker -l $$NAUTOBOT_LOG_LEVEL --events" ## $$ because of docker-compose
entrypoint: "nautobot-server rqworker"
#### ENABLE CELERY ######
# This is what is required to add a celery worker. This broke CI so is disabled for now.
# - "sh"
# - "-c" # this is to evaluate the $NAUTOBOT_LOG_LEVEL from the env
# - "nautobot-server celery worker -l $$NAUTOBOT_LOG_LEVEL --events" ## $$ because of docker-compose
# depends_on:
# nautobot:
# condition: "service_healthy"
# healthcheck:
# interval: "30s"
# timeout: "10s"
# start_period: "30s"
# retries: 3
# test: ["CMD", "bash", "-c", "nautobot-server celery inspect ping --destination celery@$$HOSTNAME"] ## $$ because of docker-compose
###########################
depends_on:
nautobot:
condition: "service_healthy"
healthcheck:
interval: "30s"
timeout: "10s"
start_period: "30s"
retries: 3
test: ["CMD", "bash", "-c", "nautobot-server celery inspect ping --destination celery@$$HOSTNAME"] ## $$ because of docker-compose
- "nautobot"
<<: *nautobot-base
postgres:
image: "postgres:13"
Expand Down

0 comments on commit bc291d7

Please sign in to comment.