root: fix docker-compose not correctly redirecting to https
This commit is contained in:
parent
8605e62503
commit
1d59af7491
|
@ -67,13 +67,13 @@ services:
|
||||||
- traefik.docker.network=internal
|
- traefik.docker.network=internal
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:1.7
|
image: traefik:1.7
|
||||||
command: --api --docker
|
command: --api --docker --defaultentrypoints=https --entryPoints='Name:http Address::80 Redirect.EntryPoint:https' --entryPoints='Name:https Address::443 TLS'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:80:80"
|
- "0.0.0.0:80:80"
|
||||||
- "0.0.0.0:443:443"
|
- "0.0.0.0:443:443"
|
||||||
- "0.0.0.0:8080:8080"
|
- "127.0.0.1:8080:8080"
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
|
|
Reference in New Issue