ffrs-website-docker-compose/docker-compose.yml

27 lines
1.1 KiB
YAML
Executable File

version: '3.7'
services:
web:
image: fftdf/freifunk-rhein-sieg.net:devel
container_name: test.freifunk-rhein-sieg.net
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