-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
69 lines (69 loc) · 1.91 KB
/
docker-compose.yml
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
59
60
61
62
63
64
65
66
67
68
69
version: "3.7"
networks:
omnibot:
name: omnibot
services:
omnibot-queuecreator:
image: lyft/omnibot
init: true
restart: on-failure
depends_on:
- sqs
env_file: ./config/development/omnibot.env
command: "python3 manage.py create-queues"
volumes:
- ./config/development/omnibot.conf:/etc/omnibot/omnibot.conf
- ./config/development/logging.conf:/etc/omnibot/logging.conf
omnibot:
image: lyft/omnibot
init: true
restart: on-failure
networks:
- default
- omnibot
ports:
- "80:80"
depends_on:
- redis
- sqs
- omnibot-queuecreator
env_file: ./config/development/omnibot.env
volumes:
- ./config/development/omnibot.conf:/etc/omnibot/omnibot.conf
- ./config/development/logging.conf:/etc/omnibot/logging.conf
command: "gunicorn --config /srv/omnibot/config/gunicorn.conf omnibot.wsgi:app --workers=2 -k gevent --access-logfile=- --error-logfile=-"
omnibot-webhook:
image: lyft/omnibot
init: true
restart: on-failure
networks:
- default
- omnibot
depends_on:
- redis
- sqs
- omnibot-queuecreator
env_file: ./config/development/omnibot.env
volumes:
- ./config/development/omnibot.conf:/etc/omnibot/omnibot.conf
- ./config/development/logging.conf:/etc/omnibot/logging.conf
command: "python3 -m omnibot.webhook_worker"
omnibot-watcher:
image: lyft/omnibot
restart: on-failure
init: true
depends_on:
- redis
- sqs
- omnibot-queuecreator
env_file: ./config/development/omnibot.env
volumes:
- ./config/development/omnibot.conf:/etc/omnibot/omnibot.conf
- ./config/development/logging.conf:/etc/omnibot/logging.conf
command: "python3 -m omnibot.watcher"
redis:
image: redis
sqs:
image: s12v/elasticmq
volumes:
- ./config/development/elasticmq.conf:/etc/elasticmq/elasticmq.conf