refs #3723 Set docker memory limit #29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue