-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 852 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 852 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
34
35
36
37
38
39
40
41
#--------------------Auth--------------------
auth:
build: .
env_file:
- Auth.env
command: gunicorn --name auth -b 0.0.0.0:5499 -w 2 wsgi:app
ports:
- "5499:5499"
volumes:
- .:/Auth
external_links:
- auth-mysql:mysql
links:
- redis1
- redis2
#-------------------- celery --------------------------
celery:
build: .
env_file:
- Auth.env
command: celery worker -A auth.mail.celery --loglevel=INFO
volumes:
- .:/Auth
links:
- redis1
- redis2
#------------------- redis servers---------------------
redis1:
image: redis
command: redis-server --port 6385
ports:
- "6385:6385"
redis2:
image: redis
command: redis-server --port 6386 # celery result backend
ports:
- "6386:6386"