Optimize stack

This commit is contained in:
schmelczerandras 2020-08-23 15:40:51 +02:00
parent fe02158cd7
commit dd3eda64f4
2 changed files with 6 additions and 10 deletions

View file

@ -7,14 +7,14 @@ services:
networks:
- network
deploy:
replicas: 2
replicas: 3
resources:
limits:
cpus: "0.5"
memory: 32M
# no cpu limit
memory: 16M
reservations:
cpus: "0.2"
memory: 32M
memory: 16M
placement:
max_replicas_per_node: 1
update_config: