Added limits to docker-compose
This commit is contained in:
@@ -13,7 +13,22 @@ services:
|
|||||||
- MINIO_BROWSER=off
|
- MINIO_BROWSER=off
|
||||||
volumes:
|
volumes:
|
||||||
- "/tmp/minio_internal:/mnt/minio_data"
|
- "/tmp/minio_internal:/mnt/minio_data"
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.40'
|
||||||
|
memory: 80M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.05'
|
||||||
|
memory: 30M
|
||||||
gpg_worker:
|
gpg_worker:
|
||||||
build: .
|
build: .
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
env_file: settings.env
|
env_file: settings.env
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.50'
|
||||||
|
memory: 80M
|
||||||
|
reservations:
|
||||||
|
memory: 30M
|
||||||
|
|||||||
Reference in New Issue
Block a user