Commit 6646441f authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Restringe zona y cpu para prod

parent 7f8c409f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,3 +6,4 @@ HTTPS_INTERNAL_PORT=443
HTTPS_PORT=443
PORT_MODE=host
BLACKLIST_CONFIG_NAME=nginx-blacklist
AWS_REGION=eu-west-1
+7 −0
Original line number Diff line number Diff line
version: '3.5'

services:
  nginx-proxy-https:
    deploy:
      placement:
        constraints:
          - engine.labels.availability_zone == ${AWS_REGION}a

configs:
  blacklist-config:
    name: ${BLACKLIST_CONFIG_NAME}
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ services:
        delay: ${UPDATE_DELAY:-1m}
      resources:
        limits:
          cpus: '${RESOURCES_LIMITS_CPUS:-2}'
          cpus: '${RESOURCES_LIMITS_CPUS:-1}'
          memory: ${RESOURCES_LIMITS_MEMORY:-128M}
        reservations:
          cpus: '${RESOURCES_RESERVATIONS_CPUS:-0.001}'