diff --git a/docker-compose.yaml b/docker-compose.yaml index ca846ee..9850c82 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,6 +15,16 @@ services: - "80:3000" env_file: - .env.local + hostname: homepage-dev + cap_drop: [ALL] + deploy: + resources: + limits: + cpus: '1.0' + memory: 2G + reservations: + cpus: '1.0' + memory: 1G prod: build: @@ -25,6 +35,16 @@ services: - "80:3000" env_file: - .env.local + hostname: homepage-prod + cap_drop: [ALL] + deploy: + resources: + limits: + cpus: '1.0' + memory: 2G + reservations: + cpus: '1.0' + memory: 1G volumes: node_modules: