ffrs-website-docker-compose/docker-compose.yml
2019-12-15 10:49:05 +01:00

26 lines
1.0 KiB
YAML
Executable File

version: '3.7'
services:
web:
image: fftdf/freifunk-rhein-sieg.net:devel
restart: always
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.ffrs-web-test.entrypoints=http"
- "traefik.http.routers.ffrs-web-test.rule=Host(`test.freifunk-rhein-sieg.net`)"
- "traefik.http.middlewares.ffrs-web-test-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.ffrs-web-test.middlewares=ffrs-web-test-https-redirect"
- "traefik.http.routers.ffrs-web-test-secure.entrypoints=https"
- "traefik.http.routers.ffrs-web-test-secure.rule=Host(`test.freifunk-rhein-sieg.net`)"
- "traefik.http.routers.ffrs-web-test-secure.tls=true"
- "traefik.http.routers.ffrs-web-test-secure.tls.certresolver=http"
- "traefik.http.routers.ffrs-web-test-secure.service=ffrs-web-test"
- "traefik.http.services.ffrs-web-test.loadbalancer.server.port=1313"
- "traefik.docker.network=proxy"
networks:
proxy:
external:
name: proxy