forked from colin/resume
Update stack.staging.yml
This commit is contained in:
parent
0c8953939f
commit
caafc6133d
|
@ -1,38 +1,30 @@
|
||||||
version: "3.7"
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
resume:
|
resume:
|
||||||
image: git.nixc.us/colin/resume:staging
|
image: git.nixc.us/nixius/lucky-ddg:production
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
# placement:
|
||||||
constraints:
|
# constraints:
|
||||||
- node.hostname == ingress.nixc.us
|
# - node.hostname == ingress.nixc.us
|
||||||
update_config:
|
update_config:
|
||||||
order: start-first
|
order: start-first
|
||||||
failure_action: rollback
|
# failure_action: rollback
|
||||||
delay: 5s
|
delay: 0s
|
||||||
delay: 10s
|
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
us.nixc.autodeploy: "true"
|
us.nixc.autodeploy: "true"
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.staging_resume.tls: "true"
|
traefik.http.routers.production_lucky-ddg.tls: "true"
|
||||||
traefik.http.services.staging_resume.loadbalancer.server.port: "8080"
|
traefik.http.services.production_lucky-ddg.loadbalancer.server.port: "5000"
|
||||||
traefik.http.routers.staging_resume.rule: "Host(`staging.resume.colinknapp.com`, `staging.colinknapp.com`)"
|
traefik.http.routers.production_lucky-ddg.rule: "Host(`ddg.staging.nixc.us`)"
|
||||||
traefik.http.routers.staging_resume.entrypoints: "websecure"
|
traefik.http.routers.production_lucky-ddg.entrypoints: "websecure"
|
||||||
traefik.http.routers.staging_resume.tls.certresolver: "letsencryptresolver"
|
traefik.http.routers.production_lucky-ddg.tls.certresolver: "letsencryptresolver"
|
||||||
traefik.http.routers.staging_resume.service: "staging_resume"
|
traefik.http.routers.production_lucky-ddg.service: "production_lucky-ddg"
|
||||||
traefik.docker.network: "traefik"
|
traefik.docker.network: "traefik"
|
||||||
# traefik.http.routers.staging_resume.middlewares: "authelia@docker"
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
# logging:
|
|
||||||
# driver: "gelf"
|
|
||||||
# options:
|
|
||||||
# gelf-address: "udp://log.nixc.us:15124"
|
|
||||||
# tag: "resume_resume"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue