deployment/stacks/rusty-bever.yml

25 lines
637 B
YAML
Raw Permalink Normal View History

2021-12-18 10:35:43 +01:00
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