Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
6b58c670dc | |||
6a05ce72ea | |||
e62c99ca93 | |||
1452377dcc | |||
a0852b7454 | |||
6124192a31 | |||
a8c7527be3 | |||
0139e0bd62 |
30
docker-compose.yml
Executable file → Normal file
30
docker-compose.yml
Executable file → Normal file
@ -1,23 +1,25 @@
|
|||||||
version: '3.7'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: fftdf/freifunk-rhein-sieg.net
|
image: fftdf/freifunk-rhein-sieg.net:master
|
||||||
|
container_name: freifunk-rhein-sieg.net
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
labels:
|
environment:
|
||||||
- "traefik.enable=true"
|
VIRTUAL_PORT: 80
|
||||||
- "traefik.http.routers.ffrs-web.entrypoints=http"
|
VIRTUAL_HOST: freifunk-rhein-sieg.net,www.freifunk-rhein-sieg.net
|
||||||
- "traefik.http.routers.ffrs-web.rule=Host(`freifunk-rhein-sieg.net`)"
|
LETSENCRYPT_HOST: freifunk-rhein-sieg.net,www.freifunk-rhein-sieg.net
|
||||||
- "traefik.http.middlewares.ffrs-web-https-redirect.redirectscheme.scheme=https"
|
web-test:
|
||||||
- "traefik.http.routers.ffrs-web.middlewares=ffrs-web-https-redirect"
|
image: fftdf/freifunk-rhein-sieg.net:devel
|
||||||
- "traefik.http.routers.ffrs-web-secure.entrypoints=https"
|
container_name: test.freifunk-rhein-sieg.net
|
||||||
- "traefik.http.routers.ffrs-web-secure.rule=Host(`freifunk-rhein-sieg.net`)"
|
restart: always
|
||||||
- "traefik.http.routers.ffrs-web-secure.tls=true"
|
networks:
|
||||||
- "traefik.http.routers.ffrs-web-secure.tls.certresolver=http"
|
- proxy
|
||||||
- "traefik.http.routers.ffrs-web-secure.service=ffrs-web"
|
environment:
|
||||||
- "traefik.http.services.ffrs-web.loadbalancer.server.port=80"
|
VIRTUAL_PORT: 80
|
||||||
- "traefik.docker.network=proxy"
|
VIRTUAL_HOST: test.freifunk-rhein-sieg.net
|
||||||
|
LETSENCRYPT_HOST: test.freifunk-rhein-sieg.net
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
Loading…
Reference in New Issue
Block a user