refs #3723 Set docker memory limit #29

Merged
juan merged 1 commits from master into test 2023-03-06 08:31:52 +00:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit cdafea824e - Show all commits

View File

@ -21,6 +21,9 @@ services:
placement: placement:
constraints: constraints:
- node.role == worker - node.role == worker
resources:
limits:
memory: 2G
cron: cron:
image: registry.verdnatura.es/hedera-web:${BRANCH_NAME:?} image: registry.verdnatura.es/hedera-web:${BRANCH_NAME:?}
command: 'cron -f' command: 'cron -f'
@ -35,6 +38,9 @@ services:
placement: placement:
constraints: constraints:
- node.role == worker - node.role == worker
resources:
limits:
memory: 1G
configs: configs:
config: config:
external: true external: true