Update stack.staging.yml
This commit is contained in:
parent
19b24d092a
commit
454a54109e
|
@ -7,6 +7,16 @@ services:
|
||||||
template:
|
template:
|
||||||
image: git.nixc.us/nixius/template:staging
|
image: git.nixc.us/nixius/template:staging
|
||||||
deploy:
|
deploy:
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.staging_template.rule=Host(`staging.template.nixc.us`)
|
||||||
|
- traefik.http.routers.staging_template.entrypoints=websecure
|
||||||
|
- traefik.http.routers.staging_template.tls=true
|
||||||
|
- traefik.http.routers.staging_template.tls.certresolver=letsencryptresolver
|
||||||
|
- traefik.http.services.staging_template.loadbalancer.server.port=3000
|
||||||
|
# - traefik.http.services.staging_template.loadbalancer.healthcheck.path=/health
|
||||||
|
# - traefik.http.services.staging_template.loadbalancer.healthcheck.interval=30s
|
||||||
|
# - traefik.http.services.staging_template.loadbalancer.healthcheck.timeout=5s
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
@ -20,14 +30,4 @@ services:
|
||||||
delay: 10s
|
delay: 10s
|
||||||
order: stop-first
|
order: stop-first
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
labels:
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.routers.staging_template.rule=Host(`staging.template.nixc.us`)
|
|
||||||
- traefik.http.routers.staging_template.entrypoints=websecure
|
|
||||||
- traefik.http.routers.staging_template.tls=true
|
|
||||||
- traefik.http.routers.staging_template.tls.certresolver=letsencryptresolver
|
|
||||||
- traefik.http.services.staging_template.loadbalancer.server.port=3000
|
|
||||||
# - traefik.http.services.staging_template.loadbalancer.healthcheck.path=/health
|
|
||||||
# - traefik.http.services.staging_template.loadbalancer.healthcheck.interval=30s
|
|
||||||
# - traefik.http.services.staging_template.loadbalancer.healthcheck.timeout=5s
|
|
Loading…
Reference in New Issue