diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6c12757a..40460af0 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -19,10 +19,11 @@ - [ ] Service is restartable - [ ] Service restart is zero-downtime - [ ] Service has >1 replicas in PROD -- [ ] Service has docker heathlcheck enabled +- [ ] Service has docker healthcheck enabled - [ ] Service is monitored (via prometheus and grafana) - [ ] Service is not bound to one specific node (e.g. via files or volumes) - [ ] Relevant OPS E2E Test are added +- [ ] Grafana dashboards updated accordingly If exposed via traefik - [ ] Service's Public URL is included in maintenance mode diff --git a/services/simcore/docker-compose.yml.j2 b/services/simcore/docker-compose.yml.j2 index 54f73fb0..30e31e35 100644 --- a/services/simcore/docker-compose.yml.j2 +++ b/services/simcore/docker-compose.yml.j2 @@ -337,6 +337,34 @@ services: cpus: "1.0" memory: "512M" + wb-auth: + networks: + - monitored # traces + - public # public service use auth + deploy: + replicas: ${WB_AUTH_REPLICAS} + update_config: + parallelism: 2 + order: start-first + failure_action: rollback + delay: 10s + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s + placement: + constraints: + - node.labels.simcore==true + resources: + reservations: + cpus: "0.1" + memory: "256M" + limits: + cpus: "1" + memory: "1G" + # healthcheck: defined in image + storage: environment: - S3_ENDPOINT=${S3_ENDPOINT}