aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-25 16:53:32 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-25 16:53:32 +0200
commite07b852642056c43ce686b2a23dce875bcd36ee3 (patch)
tree77f2ac0f91a0895ba4dd9c5e0981d2bc2d22a1f8
parent36d129414b696bd2a633d379cac1dff867f64413 (diff)
build(docker): increase CPU and Memory limits
Some images failed to load and the staging build was randomly crashing with exit code 137 (memory issue).
-rw-r--r--docker-compose.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 297ce14..443abb5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,11 +12,11 @@ services:
deploy:
resources:
limits:
- cpus: '0.2'
- memory: 50M
+ cpus: '0.5'
+ memory: 100M
reservations:
- cpus: '0.1'
- memory: 20M
+ cpus: '0.25'
+ memory: 50M
env_file:
- .env
environment:
@@ -36,11 +36,11 @@ services:
deploy:
resources:
limits:
- cpus: '0.2'
- memory: 50M
+ cpus: '0.5'
+ memory: 100M
reservations:
- cpus: '0.1'
- memory: 20M
+ cpus: '0.25'
+ memory: 50M
env_file:
- .env
environment: