infra/.deploy-nginx/deploy-dev.yaml
Egor Matveev d1212d852b
All checks were successful
Deploy Dev / Build (pull_request) Successful in 43s
Deploy Dev / Push (pull_request) Successful in 44s
Deploy Dev / prepare (pull_request) Successful in 5s
Deploy Dev / Deploy dev (pull_request) Successful in 25s
fix
2025-06-08 11:12:54 +03:00

35 lines
703 B
YAML

version: "3.6"
services:
nginx:
image: mathwave/sprint-repo:sprint-infra-nginx-dev
networks:
- common-infra-nginx-development
- configurator
environment:
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_DEV
ports:
- published: 80
target: 80
mode: host
- published: 443
target: 443
mode: host
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
placement:
constraints: [node.labels.stage == development]
update_config:
parallelism: 1
# order: stop-first
networks:
common-infra-nginx-development:
external: true
configurator:
external: true