refs #3723 Set docker memory limit
gitea/hedera-web/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-03-06 09:25:02 +01:00
parent 1ef0d48ba7
commit cdafea824e
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