Skip to content

Commit

Permalink
fix back docker compose for celery beat migration
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshojha committed Sep 11, 2024
1 parent b8915cb commit 101b9be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ services:

celery-beat:
build: ./web
# entrypoint: /usr/src/app/beat-entrypoint.sh
entrypoint: /usr/src/app/beat-entrypoint.sh
command: celery -A reNgine beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
depends_on:
- celery
- db
environment:
- DEBUG=1
- CELERY_BROKER=redis://redis:6379/0
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:

celery-beat:
build: ./web
# entrypoint: /usr/src/app/beat-entrypoint.sh
entrypoint: /usr/src/app/beat-entrypoint.sh
command: celery -A reNgine beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
environment:
- CELERY_BROKER=redis://redis:6379/0
Expand All @@ -68,6 +68,7 @@ services:
- POSTGRES_HOST=${POSTGRES_HOST}
depends_on:
- celery
- db
volumes:
- ./web:/usr/src/app
- github_repos:/usr/src/github
Expand Down

0 comments on commit 101b9be

Please sign in to comment.