diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-06-23 17:47:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-23 17:47:22 +0200 |
| commit | aeb66a7b19008fabecbca23a1e21a9d6942ec28a (patch) | |
| tree | 23bdfd6203b567f52caf48afa8bdb47c3b3f2237 /service | |
| parent | 973ee12e43e65998e64f6f43c7a4b7b2489bcd0c (diff) | |
| parent | d806327e059537e341fccb2cc4e82ead463287b2 (diff) | |
| download | enowars5-service-stldoctor-aeb66a7b19008fabecbca23a1e21a9d6942ec28a.tar.gz enowars5-service-stldoctor-aeb66a7b19008fabecbca23a1e21a9d6942ec28a.zip | |
Merge pull request #37 from Sinitax/main
automated patch: set memory limit, core & proc ulimits
Diffstat (limited to 'service')
| -rw-r--r-- | service/docker-compose.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/service/docker-compose.yml b/service/docker-compose.yml index 8803d52..27ea820 100644 --- a/service/docker-compose.yml +++ b/service/docker-compose.yml @@ -1,13 +1,18 @@ -version: '2' +version: '2.1' + services: printdoc: ulimits: core: hard: 0 soft: 0 + nproc: + soft: 4000 + hard: 4000 build: . volumes: - ./data/:/data:rw ports: - 9090:9000 mem_limit: 1G + memswap_limit: 2G |
