From 979d3b7f1036599435f4506829f78c27334c4b4a Mon Sep 17 00:00:00 2001 From: stefan Date: Mon, 2 Dec 2019 21:36:31 +0100 Subject: [PATCH] first commit --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100755 index 0000000..72f7037 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.7' +services: + web: + image: fftdf/freifunk-rhein-sieg.net + restart: always + networks: + - proxy + 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: + proxy: + external: + name: proxy