diff --git a/docker-compose.yml b/docker-compose.yml index 4fc5dc811..13a7bc751 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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