aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docker-compose.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 33051ad..8f1eff2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -40,7 +40,12 @@ services:
- LETSENCRYPT_HOST=git.ediblemonad.dev
- DHPARAM_GENERATION=false
- USE_CUSTOM_CONFIG=true
- - GIT_REPOS_ROOT=${GIT_REPOS_ROOT:-/git}
+ deploy:
+ resources:
+ limits:
+ cpus: '0.5'
+ reservations:
+ cpus: '0.2'
volumes:
- cgit-cache:/var/cache/cgit
- ${GIT_REPOS_ROOT:-/git}:/srv/git:ro