summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 791f1ef..297ce14 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -9,6 +9,14 @@ services:
APP_ENV: production
DOCKER_PORT: ${APP_DOCKER_PORT:-3000}
container_name: apcom
+ deploy:
+ resources:
+ limits:
+ cpus: '0.2'
+ memory: 50M
+ reservations:
+ cpus: '0.1'
+ memory: 20M
env_file:
- .env
environment:
@@ -25,6 +33,14 @@ services:
APP_ENV: staging
DOCKER_PORT: ${APP_STAGING_DOCKER_PORT:-3200}
container_name: apcom-staging
+ deploy:
+ resources:
+ limits:
+ cpus: '0.2'
+ memory: 50M
+ reservations:
+ cpus: '0.1'
+ memory: 20M
env_file:
- .env
environment: