1
1
version : ' 2.4'
2
2
services :
3
+
3
4
libreoffice :
4
5
image : imiobe/libreoffice:7.3
5
6
command : soffice --headless --norestore --accept="socket,host=libreoffice,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager"
@@ -14,16 +15,17 @@ services:
14
15
SERVICE_NAME : " libreoffice"
15
16
restart :
16
17
unless-stopped
17
- mem_limit : 200M
18
+ mem_limit : 500M
18
19
mem_reservation : 150M
19
20
mem_swappiness : 0
21
+
20
22
zeo :
21
23
image : imiobe/iadelib:demo-latest
22
24
command : zeoserver
23
25
environment :
24
26
- HOSTNAME=zeo
25
27
volumes :
26
- - data:/data
28
+ - ./ data:/data
27
29
- tmp:/tmp
28
30
- vartmp:/var/tmp
29
31
networks :
@@ -32,6 +34,7 @@ services:
32
34
SERVICE_NAME : " zeo"
33
35
healthcheck :
34
36
test : " /plone/zeo_healthcheck.sh"
37
+
35
38
instance :
36
39
image : imiobe/iadelib:demo-latest
37
40
command : instance
@@ -51,13 +54,14 @@ services:
51
54
- HOSTNAME=instance1
52
55
- PLONE_PATH=demo
53
56
volumes :
54
- - data:/data
57
+ - ./ data:/data
55
58
- tmp:/tmp
56
59
- vartmp:/var/tmp
57
60
healthcheck :
58
61
test : " curl -f localhost:8081/$$PLONE_PATH/@@ok"
59
62
labels :
60
63
SERVICE_NAME : " instance1"
64
+
61
65
worker-cron :
62
66
image : imiobe/iadelib:demo-latest
63
67
command : instance-cron
@@ -77,13 +81,14 @@ services:
77
81
- CLUSTER=iadelib_pm42
78
82
- HOSTNAME=worker-cron
79
83
volumes :
80
- - data:/data
84
+ - ./ data:/data
81
85
- tmp:/tmp
82
86
- vartmp:/var/tmp
83
87
healthcheck :
84
88
test : " curl -f localhost:8087/$$PLONE_PATH/@@ok"
85
89
labels :
86
90
SERVICE_NAME : " worker-cron"
91
+
87
92
worker-async :
88
93
image : imiobe/iadelib:demo-latest
89
94
command : instance-async
@@ -101,11 +106,12 @@ services:
101
106
healthcheck :
102
107
test : " curl -f localhost:8089/$$PLONE_PATH/@@ok"
103
108
volumes :
104
- - data:/data
109
+ - ./ data:/data
105
110
- tmp:/tmp
106
111
- vartmp:/var/tmp
107
112
labels :
108
113
SERVICE_NAME : " worker-async"
114
+
109
115
worker-amqp :
110
116
image : imiobe/iadelib:demo-latest
111
117
command : instance-amqp
@@ -134,11 +140,12 @@ services:
134
140
healthcheck :
135
141
test : " curl -f localhost:8286/$$PLONE_PATH/@@ok"
136
142
volumes :
137
- - data:/data
143
+ - ./ data:/data
138
144
- tmp:/tmp
139
145
- vartmp:/var/tmp
140
146
labels :
141
147
SERVICE_NAME : " worker-cron"
148
+
142
149
maintenance :
143
150
image : imiobe/iadelib:demo-latest
144
151
# command: maintenance
@@ -161,15 +168,14 @@ services:
161
168
healthcheck :
162
169
test : " curl -f localhost:8080/$$PLONE_PATH/@@ok"
163
170
volumes :
164
- - data:/data
171
+ - ./ data:/data
165
172
- tmp:/tmp
166
173
- vartmp:/var/tmp
167
174
labels :
168
175
SERVICE_NAME : " maintenance"
169
176
volumes :
170
177
tmp :
171
178
vartmp :
172
- data :
173
179
174
180
networks :
175
181
delib_internal :
0 commit comments