„docker-compose.yml“ ändern

This commit is contained in:
Stefan Hoffmann 2019-12-22 12:08:01 +00:00
parent a8c7527be3
commit 6124192a31

View File

@ -8,21 +8,8 @@ services:
- proxy - proxy
environment: environment:
VIRTUAL_PORT: 3000 VIRTUAL_PORT: 3000
VIRTUAL_HOST: git.freifunk-rhein-sieg.net VIRTUAL_HOST: freifunk-rhein-sieg.net
LETSENCRYPT_HOST: git.freifunk-rhein-sieg.net LETSENCRYPT_HOST: freifunk-rhein-sieg.net
labels:
- "traefik.enable=true"
- "traefik.http.routers.ffrs-web.entrypoints=http"
- "traefik.http.routers.ffrs-web.rule=Host(`freifunk-rhein-sieg.net`)"
- "traefik.http.middlewares.ffrs-web-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.ffrs-web.middlewares=ffrs-web-https-redirect"
- "traefik.http.routers.ffrs-web-secure.entrypoints=https"
- "traefik.http.routers.ffrs-web-secure.rule=Host(`freifunk-rhein-sieg.net`)"
- "traefik.http.routers.ffrs-web-secure.tls=true"
- "traefik.http.routers.ffrs-web-secure.tls.certresolver=http"
- "traefik.http.routers.ffrs-web-secure.service=ffrs-web"
- "traefik.http.services.ffrs-web.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
networks: networks:
proxy: proxy: