-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.json
253 lines (238 loc) · 10.2 KB
/
deploy.json
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"service-auth": {
"container_name": "service-auth",
"build": "./service-auth",
"ports": ["57000:57000"],
"environment": {
"CLAWIO_AUTH_DBDSN": "/tmp/users.db",
"CLAWIO_AUTH_DRIVER": "sqlite3",
"CLAWIO_AUTH_SIGNMETHOD": "HS256",
"CLAWIO_AUTH_PORT": 57000,
"CLAWIO_SHAREDSECRET": "secret",
"CLAWIO_AUTH_LOGLEVEL": "error"
},
"volumes": ["/tmp:/tmp"]
},
"service-localfs-prop-mysql": {
"container_name": "service-localfs-prop-mysql",
"build": "./service-mysql",
"ports": ["57005:57005"],
"environment": {
"MYSQL_DATABASE": "prop",
"MYSQL_PORT": 57005,
"MYSQL_USER": "prop",
"MYSQL_PASSWORD": "passforuserprop",
"MYSQL_ROOT_PASSWORD": "admin",
"MYSQL_PORT": 57005
}
},
"service-localfs-prop": {
"container_name": "service-localfs-prop",
"build": "./service-localfs-prop",
"ports": ["57003:57003"],
"environment": {
"CLAWIO_LOCALFS_PROP_DSN": "prop:passforuserprop@tcp(service-localfs-prop-mysql:57005)/prop",
"CLAWIO_LOCALFS_PROP_PORT": 57003,
"CLAWIO_LOCALFS_PROP_MAXSQLIDLE": 8192,
"CLAWIO_LOCALFS_PROP_MAXSQLCONCURRENCY": 8192,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfs-prop-mysql:service-localfs-prop-mysql"]
},
"service-localfs-data": {
"container_name": "service-localfs-data",
"build": "./service-localfs-data",
"ports": ["57002:57002"],
"environment": {
"CLAWIO_LOCALFS_DATA_DATADIR": "/tmp/localfs",
"CLAWIO_LOCALFS_DATA_TMPDIR": "/tmp",
"CLAWIO_LOCALFS_DATA_CHECKSUM": "",
"CLAWIO_LOCALFS_DATA_PORT": 57002,
"CLAWIO_LOCALFS_DATA_PROP": "service-localfs-prop:57003",
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfs-prop:service-localfs-prop"],
"volumes": ["/tmp:/tmp"]
},
"service-localfs-meta": {
"container_name": "service-localfs-meta",
"build": "./service-localfs-meta",
"ports": ["57001:57001"],
"environment": {
"CLAWIO_LOCALFS_META_DATADIR": "/tmp/localfs",
"CLAWIO_LOCALFS_META_TMPDIR": "/tmp",
"CLAWIO_LOCALFS_META_PORT": 57001,
"CLAWIO_LOCALFS_META_PROP": "service-localfs-prop:57003",
"CLAWIO_LOCALFS_META_PROPMAXACTIVE": 8192,
"CLAWIO_LOCALFS_META_PROPMAXIDLE": 8192,
"CLAWIO_LOCALFS_META_PROPMAXCONCURRENCY": 8192,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfs-prop:service-localfs-prop"],
"volumes": ["/tmp:/tmp"]
},
"service-localfs-ocwebdav": {
"container_name": "service-localfs-ocwebdav",
"build": "./service-ocwebdav",
"ports": ["57004:57004"],
"environment": {
"CLAWIO_OCWEBDAV_TMPDIR": "/tmp/ocwebdav",
"CLAWIO_OCWEBDAV_AUTH": "service-auth:57000",
"CLAWIO_OCWEBDAV_META": "service-localfs-meta:57001",
"CLAWIO_OCWEBDAV_DATA": "http://service-localfs-data:57002",
"CLAWIO_OCWEBDAV_PORT": 57004,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": [
"service-localfs-data:service-localfs-data",
"service-localfs-meta:service-localfs-meta",
"service-auth:service-auth"
],
"volumes": ["/tmp:/tmp"]
},
"service-localfsxattr-redisprop-redis": {
"container_name": "service-localfsxattr-redisprop-redis",
"image": "redis",
"ports": ["6379:6379"]
},
"service-localfsxattr-redisprop": {
"container_name": "service-localfsxattr-redisprop",
"build": "./service-localfsxattr-redisprop",
"ports": ["57023:57023"],
"environment": {
"CLAWIO_LOCALFSXATTR_REDISPROP_DSN": "service-localfsxattr-redisprop-redis:6379",
"CLAWIO_LOCALFSXATTR_REDISPROP_MAXREDISIDLE":8192,
"CLAWIO_LOCALFSXATTR_REDISPROP_MAXREDISACTIVE":0,
"CLAWIO_LOCALFSXATTR_REDISPROP_PORT": 57023,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfsxattr-redisprop-redis:service-localfsxattr-redisprop-redis"]
},
"service-localfsxattr-redisdata": {
"container_name": "service-localfsxattr-redisdata",
"build": "./service-localfsxattr-data",
"ports": ["57022:57022"],
"environment": {
"CLAWIO_LOCALFSXATTR_DATA_DATADIR": "/tmp/localfsxattr-redis",
"CLAWIO_LOCALFSXATTR_DATA_TMPDIR": "/tmp/localfsxattr-redis",
"CLAWIO_LOCALFSXATTR_DATA_CHECKSUM": "",
"CLAWIO_LOCALFSXATTR_DATA_PORT": 57022,
"CLAWIO_LOCALFSXATTR_DATA_PROP": "service-localfsxattr-redisprop:57023",
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfsxattr-redisprop:service-localfsxattr-redisprop"],
"volumes": ["/tmp:/tmp"]
},
"service-localfsxattr-redismeta": {
"container_name": "service-localfsxattr-redismeta",
"build": "./service-localfsxattr-meta",
"ports": ["57021:57021"],
"environment": {
"CLAWIO_LOCALFSXATTR_META_DATADIR": "/tmp/localfsxattr-redis",
"CLAWIO_LOCALFSXATTR_META_TMPDIR": "/tmp/localfsxattr-redis",
"CLAWIO_LOCALFSXATTR_META_PORT": 57021,
"CLAWIO_LOCALFSXATTR_META_PROP": "service-localfsxattr-redisprop:57023",
"CLAWIO_LOCALFSXATTR_META_PROPMAXACTIVE": 8192,
"CLAWIO_LOCALFSXATTR_META_PROPMAXIDLE": 8192,
"CLAWIO_LOCALFSXATTR_META_PROPMAXCONCURRENCY": 8192,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfsxattr-redisprop:service-localfsxattr-redisprop"],
"volumes": ["/tmp:/tmp"]
},
"service-localfsxattr-redisocwebdav": {
"container_name": "service-localfsxattr-redisocwebdav",
"build": "./service-ocwebdav",
"ports": ["57024:57024"],
"environment": {
"CLAWIO_OCWEBDAV_TMPDIR": "/tmp/chunks",
"CLAWIO_OCWEBDAV_AUTH": "service-auth:57000",
"CLAWIO_OCWEBDAV_META": "service-localfsxattr-redismeta:57021",
"CLAWIO_OCWEBDAV_DATA": "http://service-localfsxattr-redisdata:57022",
"CLAWIO_OCWEBDAV_PORT": 57024,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": [
"service-auth:service-auth",
"service-localfsxattr-redisdata:service-localfsxattr-redisdata",
"service-localfsxattr-redismeta:service-localfsxattr-redismeta"
],
"volumes": ["/tmp:/tmp"]
},
"service-localfsxattr-mysqlprop-mysql": {
"container_name": "service-localfsxattr-mysqlprop-mysql",
"build": "./service-mysql-localfsxattr",
"ports": ["57015:57015"],
"environment": {
"MYSQL_DATABASE": "prop",
"MYSQL_PORT": 57015,
"MYSQL_USER": "prop",
"MYSQL_PASSWORD": "passforuserprop",
"MYSQL_ROOT_PASSWORD": "admin"
}
},
"service-localfsxattr-mysqlprop": {
"container_name": "service-localfsxattr-mysqlprop",
"build": "./service-localfsxattr-mysqlprop",
"ports": ["57013:57013"],
"environment": {
"CLAWIO_LOCALFSXATTR_MYSQLPROP_DSN": "prop:passforuserprop@tcp(service-localfsxattr-mysqlprop-mysql:57015)/prop",
"CLAWIO_LOCALFSXATTR_MYSQLPROP_PORT": 57013,
"CLAWIO_LOCALFSXATTR_MYSQLPROP_MAXSQLIDLE": 8192,
"CLAWIO_LOCALFSXATTR_MYSQLPROP_MAXSQLCONCURRENCY": 8192,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfsxattr-mysqlprop-mysql:service-localfsxattr-mysqlprop-mysql"]
},
"service-localfsxattr-mysqldata": {
"container_name": "service-localfsxattr-mysqldata",
"build": "./service-localfsxattr-data",
"ports": ["57012:57012"],
"environment": {
"CLAWIO_LOCALFSXATTR_DATA_DATADIR": "/tmp/localfsxattr-mysql",
"CLAWIO_LOCALFSXATTR_DATA_TMPDIR": "/tmp/localfsxattr-mysql",
"CLAWIO_LOCALFSXATTR_DATA_CHECKSUM": "",
"CLAWIO_LOCALFSXATTR_DATA_PORT": 57012,
"CLAWIO_LOCALFSXATTR_DATA_PROP": "service-localfsxattr-mysqlprop:57013",
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfsxattr-mysqlprop:service-localfsxattr-mysqlprop"],
"volumes": ["/tmp:/tmp"]
},
"service-localfsxattr-mysqlmeta": {
"container_name": "service-localfsxattr-mysqlmeta",
"build": "./service-localfsxattr-meta",
"ports": ["57011:57011"],
"environment": {
"CLAWIO_LOCALFSXATTR_META_DATADIR": "/tmp/localfsxattr-mysql",
"CLAWIO_LOCALFSXATTR_META_TMPDIR": "/tmp/localfsxattr-mysql",
"CLAWIO_LOCALFSXATTR_META_PORT": 57011,
"CLAWIO_LOCALFSXATTR_META_PROP": "service-localfsxattr-mysqlprop:57013",
"CLAWIO_LOCALFSXATTR_META_PROPMAXACTIVE": 8192,
"CLAWIO_LOCALFSXATTR_META_PROPMAXIDLE": 8192,
"CLAWIO_LOCALFSXATTR_META_PROPMAXCONCURRENCY": 8192,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": ["service-localfsxattr-mysqlprop:service-localfsxattr-mysqlprop"],
"volumes": ["/tmp:/tmp"]
},
"service-localfsxattr-mysqlocwebdav": {
"container_name": "service-localfsxattr-mysqlocwebdav",
"build": "./service-ocwebdav",
"ports": ["57014:57014"],
"environment": {
"CLAWIO_OCWEBDAV_TMPDIR": "/tmp/chunks",
"CLAWIO_OCWEBDAV_AUTH": "service-auth:57000",
"CLAWIO_OCWEBDAV_META": "service-localfsxattr-mysqlmeta:57011",
"CLAWIO_OCWEBDAV_DATA": "http://service-localfsxattr-mysqldata:57012",
"CLAWIO_OCWEBDAV_PORT": 57014,
"CLAWIO_SHAREDSECRET": "secret"
},
"links": [
"service-auth:service-auth",
"service-localfsxattr-mysqldata:service-localfsxattr-mysqldata",
"service-localfsxattr-mysqlmeta:service-localfsxattr-mysqlmeta"
],
"volumes": ["/tmp:/tmp"]
}
}