-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
59 lines (50 loc) · 1.11 KB
/
docker-compose.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.4'
x-common-config: &common_config
image: foundriesio/conductor:1.7.0
build:
context: .
volumes:
- home:/app
- ${EXTRA_SETTINGS_PATH}:/home/
environment:
- CONDUCTOR_CELERY_BROKER_URL="amqp://conductor:[email protected]/conductor"
- CONDUCTOR_EXTRA_SETTINGS=/home/extra_settings.py
- LOGLEVEL=INFO
- USRNAME=conductor
- GROUPNAME=conductor
volumes:
home:
services:
dbmigrate:
<<: *common_config
command: conductor-admin migrate
deploy:
restart_policy:
condition: none
web:
<<: *common_config
command: /usr/bin/gunicorn conductor.wsgi --log-level ${LOGLEVEL} --bind 0.0.0.0:8000
ports:
- '9000:8000'
depends_on:
- dbmigrate
tmp:
<<: *common_config
command: echo ${USRNAME}
worker:
<<: *common_config
command: conductor-worker
depends_on:
- dbmigrate
websocket:
<<: *common_config
command: conductor-ws -v 3
ports:
- '9001:8001'
depends_on:
- dbmigrate
listener:
<<: *common_config
command: conductor-listener -v 2
depends_on:
- dbmigrate