forked from StackStorm/st2-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
95 lines (90 loc) · 1.95 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: '3'
services:
stackstorm:
image: stackstorm/stackstorm:${ST2_IMAGE_TAG:-latest}
env_file:
- conf/stackstorm.env
- conf/mongo.env
- conf/rabbitmq.env
- conf/postgres.env
- conf/redis.env
ports:
- "443:443"
depends_on:
- mongo
- postgres
- rabbitmq
- redis
networks:
- public
- private
volumes:
- stackstorm-packs-volume:/opt/stackstorm/packs
- stackstorm-virtualenvs-volume:/opt/stackstorm/virtualenvs
- stackstorm-configs-volume:/opt/stackstorm/configs
- stackstorm-log-volume:/var/log
- ./packs.dev:/opt/stackstorm/packs.dev
- ./runtime/entrypoint.d:/st2-docker/entrypoint.d
- ./runtime/st2.d:/st2-docker/st2.d
- ./conf/stackstorm.env:/st2-docker/env
dns_search: .
### External Services
mongo:
image: mongo:3.4
env_file:
- conf/mongo.env
networks:
- private
volumes:
- mongo-volume:/data/db
- mongo-configdb-volume:/data/configdb
dns_search: .
rabbitmq:
image: rabbitmq:3.6-management
env_file:
- conf/rabbitmq.env
networks:
- private
volumes:
- rabbitmq-volume:/var/lib/rabbitmq
dns_search: .
postgres:
image: postgres:9.6
env_file:
- conf/postgres.env
networks:
- private
volumes:
- postgres-volume:/var/lib/postgresql/data
dns_search: .
redis:
image: redis:4.0
env_file:
- conf/redis.env
networks:
- private
volumes:
- redis-volume:/data
dns_search: .
command: [
"bash", "-c",
'
docker-entrypoint.sh
--requirepass "$$REDIS_PASSWORD"
'
]
volumes:
mongo-volume:
mongo-configdb-volume:
postgres-volume:
rabbitmq-volume:
redis-volume:
stackstorm-packs-volume:
stackstorm-virtualenvs-volume:
stackstorm-configs-volume:
stackstorm-log-volume:
networks:
public:
driver: bridge
private:
driver: bridge