Resources limitation

This commit is contained in:
caskd 2020-01-21 18:03:27 +01:00
parent 76ff594ef6
commit 7f22fa72c9
No known key found for this signature in database
GPG Key ID: 79DB21404E300A27
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ services:
logging: *json-log
deploy:
replicas: 1
resources:
limits:
cpus: '0.2'
memory: '100M'
restart_policy:
condition: any
delay: 10s