Compare commits

...

8 Commits

30
docker-compose.yml Executable file → Normal file
View File

@ -1,23 +1,25 @@
version: '3.7'
services:
web:
image: fftdf/freifunk-rhein-sieg.net
image: fftdf/freifunk-rhein-sieg.net:master
container_name: 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"
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: freifunk-rhein-sieg.net,www.freifunk-rhein-sieg.net
LETSENCRYPT_HOST: freifunk-rhein-sieg.net,www.freifunk-rhein-sieg.net
web-test:
image: fftdf/freifunk-rhein-sieg.net:devel
container_name: test.freifunk-rhein-sieg.net
restart: always
networks:
- proxy
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: test.freifunk-rhein-sieg.net
LETSENCRYPT_HOST: test.freifunk-rhein-sieg.net
networks:
proxy: