Skip to content

Commit 5ea852e

Browse files
committed
loffice mem limit to 500M
1 parent 4f72fda commit 5ea852e

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

docker/docker-compose-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
SERVICE_NAME: "libreoffice"
1515
restart:
1616
unless-stopped
17-
mem_limit: 200M
17+
mem_limit: 500M
1818
mem_reservation: 150M
1919
mem_swappiness: 0
2020
zeo:

docker/docker-compose-jenkins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
environment:
1414
- DOCKER_CLIENT_TIMEOUT=120
1515
- COMPOSE_HTTP_TIMEOUT=120
16-
mem_limit: 300M
16+
mem_limit: 500M
1717
mem_reservation: 200M
1818
mem_swappiness: 0
1919

docker/docker-compose.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version: '2.4'
22
services:
3+
34
libreoffice:
45
image: imiobe/libreoffice:7.3
56
command: soffice --headless --norestore --accept="socket,host=libreoffice,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager"
@@ -14,16 +15,17 @@ services:
1415
SERVICE_NAME: "libreoffice"
1516
restart:
1617
unless-stopped
17-
mem_limit: 200M
18+
mem_limit: 500M
1819
mem_reservation: 150M
1920
mem_swappiness: 0
21+
2022
zeo:
2123
image: imiobe/iadelib:demo-latest
2224
command: zeoserver
2325
environment:
2426
- HOSTNAME=zeo
2527
volumes:
26-
- data:/data
28+
- ./data:/data
2729
- tmp:/tmp
2830
- vartmp:/var/tmp
2931
networks:
@@ -32,6 +34,7 @@ services:
3234
SERVICE_NAME: "zeo"
3335
healthcheck:
3436
test: "/plone/zeo_healthcheck.sh"
37+
3538
instance:
3639
image: imiobe/iadelib:demo-latest
3740
command: instance
@@ -51,13 +54,14 @@ services:
5154
- HOSTNAME=instance1
5255
- PLONE_PATH=demo
5356
volumes:
54-
- data:/data
57+
- ./data:/data
5558
- tmp:/tmp
5659
- vartmp:/var/tmp
5760
healthcheck:
5861
test: "curl -f localhost:8081/$$PLONE_PATH/@@ok"
5962
labels:
6063
SERVICE_NAME: "instance1"
64+
6165
worker-cron:
6266
image: imiobe/iadelib:demo-latest
6367
command: instance-cron
@@ -77,13 +81,14 @@ services:
7781
- CLUSTER=iadelib_pm42
7882
- HOSTNAME=worker-cron
7983
volumes:
80-
- data:/data
84+
- ./data:/data
8185
- tmp:/tmp
8286
- vartmp:/var/tmp
8387
healthcheck:
8488
test: "curl -f localhost:8087/$$PLONE_PATH/@@ok"
8589
labels:
8690
SERVICE_NAME: "worker-cron"
91+
8792
worker-async:
8893
image: imiobe/iadelib:demo-latest
8994
command: instance-async
@@ -101,11 +106,12 @@ services:
101106
healthcheck:
102107
test: "curl -f localhost:8089/$$PLONE_PATH/@@ok"
103108
volumes:
104-
- data:/data
109+
- ./data:/data
105110
- tmp:/tmp
106111
- vartmp:/var/tmp
107112
labels:
108113
SERVICE_NAME: "worker-async"
114+
109115
worker-amqp:
110116
image: imiobe/iadelib:demo-latest
111117
command: instance-amqp
@@ -134,11 +140,12 @@ services:
134140
healthcheck:
135141
test: "curl -f localhost:8286/$$PLONE_PATH/@@ok"
136142
volumes:
137-
- data:/data
143+
- ./data:/data
138144
- tmp:/tmp
139145
- vartmp:/var/tmp
140146
labels:
141147
SERVICE_NAME: "worker-cron"
148+
142149
maintenance:
143150
image: imiobe/iadelib:demo-latest
144151
# command: maintenance
@@ -161,15 +168,14 @@ services:
161168
healthcheck:
162169
test: "curl -f localhost:8080/$$PLONE_PATH/@@ok"
163170
volumes:
164-
- data:/data
171+
- ./data:/data
165172
- tmp:/tmp
166173
- vartmp:/var/tmp
167174
labels:
168175
SERVICE_NAME: "maintenance"
169176
volumes:
170177
tmp:
171178
vartmp:
172-
data:
173179

174180
networks:
175181
delib_internal:

0 commit comments

Comments
 (0)