start-traefik

This commit is contained in:
Jackson Delahunt 2019-02-28 22:07:53 +11:00
parent b66d1a6df8
commit 5894cedb92
2 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,8 @@ docker exec \
--tty \
$DESKTOP_ENVIRONMENT_CONTAINER \
traefik \
--accessLog.filePath=/var/log/traefik-http.log \
--accessLog.format=json \
--acme.domains=*.stemn.com \
--acme.email=security@stemn.com \
--acme.entrypoint=https \
@ -24,4 +26,6 @@ docker exec \
--entryPoints='Name:http Address::80 Redirect.EntryPoint:https' \
--entryPoints='Name:https Address::443 TLS' \
--logLevel=info \
--traefikLog.filePath=/var/log/traefik-system.log \
--traefikLog.format=json \
--web

View file

@ -32,4 +32,4 @@ docker run \
DISPLAY=$XPRA_DISPLAY $REPO_ROOT/docker/scripts/start.sh
# Expose desktop environment publicly with traefik
$REPO_ROOT/docker/scripts/traefik.sh
$REPO_ROOT/docker/scripts/start-traefik.sh