-
-
Notifications
You must be signed in to change notification settings - Fork 773
Expand file tree
/
Copy pathdocker-compose-celery.yml
More file actions
34 lines (26 loc) · 924 Bytes
/
docker-compose-celery.yml
File metadata and controls
34 lines (26 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3'
services:
worker_1: &worker
restart: unless-stopped
logging:
options:
max-size: '100m'
max-file: '10'
driver: json-file
image: gitcoin/web:2a4e1e8fac
volumes:
# - .:/code
- ./app/app/.env:/code/app/app/.env
- ./app/app/gitcoin_bot_secret.pem:/code/app/app/gitcoin_bot_secret.pem
- ./app/app/google_analytics_private_key.pem:/code/app/app/google_analytics_private_key.pem
working_dir: /code/app
command: ["celery", "-A", "taskapp", "worker", "-Q", "gitcoin_passport, celery"]
worker_2:
<<: *worker
command: ["celery", "-A", "taskapp", "worker", "-Q", "gitcoin_passport,high_priority,celery"]
worker_3:
<<: *worker
command: ["celery", "-A", "taskapp", "worker", "-Q", "gitcoin_passport,celery"]
worker_4:
<<: *worker
command: ["celery", "-A", "taskapp", "worker", "-Q", "gitcoin_passport,celery"]