Added site stack

master
Jef Roosens 2022-03-29 16:34:59 +02:00
parent 1f1c74a15b
commit 6aed036813
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 21 additions and 0 deletions

21
stacks/site.yml 100644
View File

@ -0,0 +1,21 @@
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'
networks:
- 'public'
networks:
public:
external: true