Commit 77db81fa authored by Noel Alonso's avatar Noel Alonso
Browse files

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

parent efb24260
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:-0.5}'