deployment/stacks/site.yml

26 lines
603 B
YAML
Raw Normal View History

2022-03-29 16:34:59 +02:00
version: '3.4'
services:
web:
image: 'chewingbever/site:latest'
deploy:
mode: 'global'
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.rb-web.rule=Host(`rustybever.be`) || Host(`www.rustybever.be`)'
- 'traefik.http.routers.rb-web.tls=true'
- 'traefik.http.routers.rb-web.tls.certresolver=letsEncrypt'
- 'traefik.http.services.rb-web.loadbalancer.server.port=80'
2022-03-29 17:58:24 +02:00
update_config:
parallelism: 1
delay: '5s'
order: 'start-first'
2022-03-29 16:34:59 +02:00
networks:
- 'public'
networks:
public:
external: true