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

View File

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