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

This commit is contained in:
Juan Ferrer 2023-03-06 09:23:24 +01:00
parent 99f8bc6bac
commit e83b518470
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,9 @@ services:
placement:
constraints:
- node.role == worker
resources:
limits:
memory: 1G
back:
image: registry.verdnatura.es/salix-back:${BRANCH_NAME:?}
build: .
@ -38,6 +41,9 @@ services:
placement:
constraints:
- node.role == worker
resources:
limits:
memory: 4G
configs:
datasources:
external: true