-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
182 lines (160 loc) · 4.26 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
172
173
174
175
176
177
178
179
180
181
version: '3.3'
services:
web:
command: ["bash", "app.sh"]
restart: always
image: gtato/sharelatex-web
#build: sharelatex-web
# container_name: sharelatex-web
depends_on:
- redis
- mongo
privileged: true
ports:
- 8080:80
- 3000:3000
# volumes:
# - ~/sharelatex_data/web:/var/lib/mongodb
environment:
SHARELATEX_REDIS_HOST: redis
SHARELATEX_APP_NAME: MicroSharedLatex
SHARELATEX_SESSION_SECRET: 'secret-please-change'
SHARELATEX_CONFIG: /etc/sharelatex/settings.coffee
SHARELATEX_SITE_URL: http://localhost:8080/
SHARELATEX_REAL_TIME_URL: "http://real-time:3026"
networks:
default:
aliases:
- web
clsi:
restart: always
image: gtato/sharelatex-clsi
#build: sharelatex-clsi
# container_name: sharelatex-clsi
# expose:
# - 3013
ports:
- 3013:3013
filestore:
restart: always
image: gtato/sharelatex-filestore
#build: sharelatex-filestore
volumes:
- ~/sharelatex_data/filestore:/app/data
ports:
- 3009:3009
docstore:
restart: always
image: gtato/sharelatex-docstore
#build: sharelatex-docstore
volumes:
- ~/sharelatex_data/docstore:/var/lib/mongodb
ports:
- 3016:3016
tags:
restart: always
#build: sharelatex-tags
image: gtato/sharelatex-tags
volumes:
- ~/sharelatex_data/tags:/var/lib/mongodb
ports:
- 3012:3012
notifications:
restart: always
image: gtato/sharelatex-notifications
#build: sharelatex-notifications
volumes:
- ~/sharelatex_data/notifications:/var/lib/mongodb
ports:
- 3042:3042
contacts:
restart: always
image: gtato/sharelatex-contacts
#build: sharelatex-contacts
volumes:
- ~/sharelatex_data/contacts:/var/lib/mongodb
ports:
- 3036:3036
spelling:
restart: always
image: gtato/sharelatex-spelling
#build: sharelatex-spelling
ports:
- 3005:3005
volumes:
- ~/sharelatex_data/spelling:/var/lib/mongodb
chat:
restart: always
image: gtato/sharelatex-chat
#build: sharelatex-chat
ports:
- 3010:3010
networks:
default:
aliases:
- chat
volumes:
- ~/sharelatex_data/chat:/var/lib/mongodb
track-changes:
restart: always
image: gtato/sharelatex-track-changes
#build: sharelatex-track-changes
ports:
- 3015:3015
depends_on:
- redis
networks:
default:
aliases:
- track-changes
volumes:
- ~/sharelatex_data/track_changes:/var/lib/mongodb
real-time:
restart: always
image: gtato/sharelatex-real-time
#build: sharelatex-real-time
# container_name: sharelatex-real-time
# expose:
# - 3026
ports:
- 3026:3026
depends_on:
- redis
networks:
default:
aliases:
- real-time
document-updater:
restart: always
image: gtato/sharelatex-document-updater
#build: sharelatex-document-updater
# expose:
# - 3003
ports:
- 3003:3003
depends_on:
- redis
networks:
default:
aliases:
- document-updater
mongo:
restart: always
image: mongo
ports:
- 27017:27017
volumes:
- ~/mongo_data:/data/db
redis:
restart: always
image: redis
ports:
- 6379:6379
# volumes:
# - ~/redis_data:/data
networks:
default:
aliases:
- redis
networks:
default: