add resource limits for elastic
This commit is contained in:
parent
90c6ab377b
commit
e3653f51ed
|
@ -34,6 +34,12 @@ services:
|
|||
- discovery.type=single-node
|
||||
volumes:
|
||||
- elasticsearch-data:/usr/share/elasticsearch/data
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 4G
|
||||
reservations:
|
||||
memory: 2G
|
||||
|
||||
zammad-init:
|
||||
image: zammad/zammad-docker-compose:zammad-5.1.1-11
|
||||
|
@ -55,7 +61,7 @@ services:
|
|||
volumes:
|
||||
- zammad-data:/opt/zammad
|
||||
deploy:
|
||||
restart_policy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
zammad-memcached:
|
||||
|
|
Loading…
Reference in New Issue