-
Notifications
You must be signed in to change notification settings - Fork 48
/
docker-compose.yml
174 lines (159 loc) · 3.78 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
version: '3.4'
services:
apache:
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- "apache_log_data:/var/log/apache2/"
ports:
- "443:443"
- "80:80"
networks:
- scot-docker-net
container_name: apache
image: sandialabs/scot_apache
deploy:
restart_policy:
condition: any
delay: 5s
max_attempts: 3
activemq:
volumes:
- "activemq_log_data:/var/log/activemq/log/"
networks:
- scot-docker-net
container_name: activemq
image: sandialabs/scot_activemq
mongodb:
environment:
no_proxy: "scot,elastic,mongodb,activemq,flair,reflair,stretch,game"
NO_PROXY: "scot,elastic,mongodb,activemq,flair,reflair,stretch,game"
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- "mongodb_data:/var/lib/mongodb/"
- "scot_backup_data:/opt/scotbackup/mongo/scot-prod/"
- "mongodb_log_data:/var/log/mongodb/"
networks:
- scot-docker-net
container_name: mongodb
image: sandialabs/scot_mongodb
elastic:
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- "scot_backup_data:/opt/scotbackup/elastic/"
- "elastic_data:/var/lib/elasticsearch/"
- "elastic_log_data:/var/log/elasticsearch/"
networks:
- scot-docker-net
container_name: elastic
image: sandialabs/scot_elastic
scot:
volumes:
- "scot_log_data:/var/log/scot/"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- "scot_files_data:/opt/scotfiles/"
- "elastic_data:/var/lib/elasticsearch/"
- "mongodb_data:/var/lib/mongodb/"
- "scot_backup_data:/opt/scotbackup/"
- "cached_images_data:/opt/scot/public/cached_images/"
- "./public/:/opt/scot/public/"
depends_on:
- mongodb
- activemq
networks:
- scot-docker-net
container_name: scot
image: sandialabs/scot_scot
flair:
volumes:
- "flair_log_data:/var/log/scot/"
- "/etc/localtime:/etc/localtime:ro"
depends_on:
- mongodb
- activemq
- scot
networks:
- scot-docker-net
container_name: flair
image: sandialabs/scot_flair
reflair:
volumes:
- "reflair_log_data:/var/log/scot/"
- "/etc/localtime:/etc/localtime:ro"
depends_on:
- mongodb
- activemq
- scot
networks:
- scot-docker-net
container_name: reflair
image: sandialabs/scot_reflair
rfproxy:
volumes:
- "rfproxy_log_data:/var/log/scot/"
- "/etc/localtime:/etc/localtime:ro"
depends_on:
- mongodb
- activemq
- scot
networks:
- scot-docker-net
container_name: rfproxy
image: sandialabs/scot_rfproxy
stretch:
image: scot_stretch
volumes:
- "stretch_log_data:/var/log/scot/"
- "/etc/localtime:/etc/localtime:ro"
depends_on:
- mongodb
- activemq
- scot
networks:
- scot-docker-net
container_name: stretch
image: sandialabs/scot_stretch
game:
volumes:
- "game_log_data:/var/log/scot/"
- "/etc/localtime:/etc/localtime:ro"
depends_on:
- mongodb
- scot
networks:
- scot-docker-net
container_name: game
image: sandialabs/scot_game
#mail:
# build:
# dockerfile: Dockerfile-Mail
# context: ./
# volumes:
# - "/var/log/scot:/var/log/scot/"
# depends_on:
# - mongodb
# - scot
# container_name: mail
# image: sandialabs/scot-stretch
volumes:
elastic_data:
scot_log_data:
elastic_log_data:
activemq_log_data:
apache_log_data:
mongodb_log_data:
game_log_data:
flair_log_data:
reflair_log_data:
mail_log_data:
stretch_log_data:
mongodb_data:
scot_files_data:
scot_backup_data:
cached_images_data:
networks:
scot-docker-net:
driver: bridge