deployment/stacks/rusty-bever.yml

25 lines
637 B
YAML

version: '3.4'
services:
web:
image: 'chewingbever/rb-web:0.1.0'
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'
environment:
- 'MATRIX_SERVER=matrix.rustybever.be:443'
- 'MATRIX_CLIENT_SERVER=https://matrix.rustybever.be'
networks:
- 'public'
networks:
public:
external: true