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

26 lines
1.0 KiB
YAML
Raw Normal View History

2019-12-02 20:36:31 +00:00
version: '3.7'
services:
web:
2019-12-15 09:49:05 +00:00
image: fftdf/freifunk-rhein-sieg.net:devel
2019-12-02 20:36:31 +00:00
restart: always
networks:
- proxy
labels:
- "traefik.enable=true"
2019-12-15 09:49:05 +00:00
- "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"
2019-12-02 20:36:31 +00:00
- "traefik.docker.network=proxy"
networks:
proxy:
external:
name: proxy