File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,22 @@ services:
24
24
depends_on :
25
25
- db
26
26
- queue
27
+ beat :
28
+ env_file : .env
29
+ environment :
30
+ - C_FORCE_ROOT=1
31
+ build :
32
+ context : .
33
+ dockerfile : ./compose/django/Dockerfile
34
+ args :
35
+ DJANGO_REQUIREMENTS : production
36
+ command : /venv/bin/celery -A eatsmart beat --loglevel=DEBUG
37
+ links :
38
+ - db
39
+ - queue
40
+ depends_on :
41
+ - db
42
+ - queue
27
43
app :
28
44
depends_on :
29
45
- db
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ Build the containers::
69
69
Bring up the containers in this order::
70
70
71
71
docker-compose -f docker-compose.yml -f docker-compose.deploy.yml up -d db queue
72
- docker-compose -f docker-compose.yml -f docker-compose.deploy.yml up -d worker app
72
+ docker-compose -f docker-compose.yml -f docker-compose.deploy.yml up -d worker beat app
73
73
74
74
Some useful commands::
75
75
You can’t perform that action at this time.
0 commit comments