Skip to content

Commit

Permalink
Add celery beat to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Jan 8, 2024
1 parent cce3548 commit 0bf4fc6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,14 @@ services:
depends_on:
- redis
restart: always

celery-beat:
build:
context: .
dockerfile: ./Dockerfile
container_name: fjob-celery-beat
command: celery -A fjob.celery beat -l info
volumes:
- .:/app/
depends_on:
- redis

0 comments on commit 0bf4fc6

Please sign in to comment.