浏览代码

docker-compose: increase memory limit

Fabian Peter Hammerle 3 年之前
父节点
当前提交
63445c524a
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 3 1
      CHANGELOG.md
  2. 1 1
      docker-compose.yml

+ 3 - 1
CHANGELOG.md

@@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 ### Fixed
-- repo url in `org.opencontainers.image.source` label
+- fixed repo url in `org.opencontainers.image.source` label
+- `docker-compose`: increased memory limit
+  (`64MiB` was insufficient for two parallel operations, e.g. `borg create` & `borg list`)
 
 ## [0.1.0] - 2021-04-04
 ### Added

+ 1 - 1
docker-compose.yml

@@ -44,6 +44,6 @@ services:
     security_opt: [no-new-privileges]
     # docker-compose >=2.2,<3
     cpus: 0.8
-    mem_limit: 64M
+    mem_limit: 128M
 
 # https://docs.docker.com/compose/compose-file/compose-file-v2/