diff --git a/docker-compose.yml b/docker-compose.yml index f9c6e6d..ece6d92 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,21 +4,11 @@ services: image: fftdf/freifunk-rhein-sieg.net:devel container_name: test.freifunk-rhein-sieg.net restart: always + environment: + - VIRTUAL_HOST=test.freifunk-rhein-sieg.net + - LETSENCRYPT_HOST=test.freifunk-rhein-sieg.net 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: