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

31 lines
1.1 KiB
YAML
Raw Normal View History

2019-12-02 20:36:31 +00:00
version: '3.7'
services:
web:
image: fftdf/freifunk-rhein-sieg.net
2019-12-15 20:59:34 +00:00
container_name: freifunk-rhein-sieg.net
2019-12-02 20:36:31 +00:00
restart: always
networks:
- proxy
2019-12-22 12:07:23 +00:00
environment:
VIRTUAL_PORT: 3000
VIRTUAL_HOST: git.freifunk-rhein-sieg.net
LETSENCRYPT_HOST: git.freifunk-rhein-sieg.net
2019-12-02 20:36:31 +00:00
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