Commit b2ff9ff9 authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade restricción de despliegue en producción

parent 7852c77e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@ services:
    environment:
      SPRING_PROFILES_ACTIVE: prod
    deploy:
      placement:
        constraints:
          - node.role == worker
      resources:
        limits:
          cpus: '${RESOURCES_LIMITS_CPUS:-1}'