forked from johandahlberg/arteria-incubation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
136 lines (127 loc) · 3.04 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# This file has been modified from the https://github.com/StackStorm/st2-docker repo
# It is therefore subject to Apache Licence 2.0.
# It has been modified to work with the specific Arteria services and workflow.
version: '3'
services:
### Stackstorm
stackstorm:
image: stackstorm/stackstorm
container_name: stackstorm
env_file:
- docker-conf/stackstorm.env
- docker-conf/mongo.env
- docker-conf/rabbitmq.env
- docker-conf/postgres.env
- docker-conf/redis.env
ports:
- "443:443"
networks:
- public
- private
volumes:
# Mount this development dir into the packs
- ./:/opt/stackstorm/packs/arteria
- stackstorm-log-volume:/var/log
- ./docker-runtime/entrypoint.d:/st2-docker/entrypoint.d
- ./docker-runtime/st2.d:/st2-docker/st2.d
- ./docker-conf/stackstorm.env:/st2-docker/env
dns_search: .
depends_on:
- mongo
- rabbitmq
- postgres
- redis
### Arteria Services
runfolder-service:
build: docker-images/runfolder-service
container_name: runfolder-service
ports:
- "8080:80"
networks:
- private
volumes:
- monitored-dir-volume:/opt/monitored-folder
dns_search: .
bcl2fastq-service:
build: docker-images/bcl2fastq-service
container_name: bcl2fastq-service
ports:
- "8081:80"
networks:
- private
volumes:
- monitored-dir-volume:/opt/monitored-folder
- ./docker-mountpoints/bcl2fastq-output:/bcl2fastq-output
dns_search: .
checkqc-service:
build: docker-images/checkqc-service
container_name: checkqc-service
ports:
- "8082:80"
networks:
- private
volumes:
- monitored-dir-volume:/opt/monitored-folder
- ./docker-mountpoints/bcl2fastq-output:/bcl2fastq-output
dns_search: .
### External Services
mongo:
image: mongo:3.4
container_name: mongo
env_file:
- docker-conf/mongo.env
networks:
- private
volumes:
- mongo-volume:/data/db
dns_search: .
rabbitmq:
image: rabbitmq:management
container_name: rabbitmq
env_file:
- docker-conf/rabbitmq.env
networks:
- private
volumes:
- rabbitmq-volume:/var/lib/rabbitmq
dns_search: .
postgres:
image: postgres:latest
container_name: postgres
env_file:
- docker-conf/postgres.env
networks:
- private
volumes:
- postgres-volume:/var/lib/postgresql/data
dns_search: .
redis:
image: redis:latest
container_name: redis
env_file:
- docker-conf/redis.env
networks:
- private
volumes:
- redis-volume:/data
command: [
'bash', '-c', 'docker-entrypoint.sh --requirepass "$$REDIS_PASSWORD"'
]
dns_search: .
volumes:
mongo-volume:
postgres-volume:
rabbitmq-volume:
redis-volume:
stackstorm-log-volume:
monitored-dir-volume:
driver_opts:
type: none
device: $ARTERIA_MONITORED_FOLDER
o: bind
networks:
public:
driver: bridge
private:
driver: bridge
internal: true