Compare commits
3 Commits
e03268af4c
...
01be84ec0a
Author | SHA1 | Date | |
---|---|---|---|
01be84ec0a | |||
0c72db2690 | |||
db3b3e332b |
@ -18,9 +18,14 @@ services:
|
||||
- --api.debug=${DEBUG:-false}
|
||||
- --log.level=${LOG_LEVEL:-ERROR}
|
||||
- --entrypoints.web.address=:80
|
||||
- --entrypoints.websecure.address=:443
|
||||
- --entrypoints.local.address=:8443
|
||||
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||
- --entrypoints.web.http.redirections.entrypoint.permanent=true
|
||||
ports:
|
||||
- "${WEB_PORT:-127.0.0.1:8000:80}"
|
||||
- "${WEB_PORT:-0.0.0.0:80:80}"
|
||||
- "${WEBSECURE_PORT:-0.0.0.0:443:443}"
|
||||
- "${LOCAL_PORT:-127.0.0.1:8443:8443}"
|
||||
labels:
|
||||
- "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)"
|
@ -14,26 +14,21 @@ services:
|
||||
command:
|
||||
- --providers.docker=true
|
||||
- --providers.docker.exposedbydefault=${EXPOSED_BY_DEFAULT:-false}
|
||||
- --api.dashboard=${DASHBOARD:-true}
|
||||
- --api.dashboard=${DASHBOARD:-false}
|
||||
- --api.debug=${DEBUG:-false}
|
||||
- --log.level=${LOG_LEVEL:-ERROR}
|
||||
- --entrypoints.web.address=:80
|
||||
- --entrypoints.websecure.address=:443
|
||||
- --entrypoints.local.address=:8443
|
||||
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||
- --entrypoints.web.http.redirections.entrypoint.permanent=true
|
||||
ports:
|
||||
- "${WEB_PORT:-0.0.0.0:80:80}"
|
||||
- "${WEBSECURE_PORT:-0.0.0.0:443:443}"
|
||||
- "${WEB_PORT:-127.0.0.1:8000:80}"
|
||||
- "${LOCAL_PORT:-127.0.0.1:8443:8443}"
|
||||
labels:
|
||||
- "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)"
|
||||
- "traefik.http.routers.${ROUTER:-traefik}.service=api@internal"
|
||||
- "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-local}"
|
||||
- "traefik.http.routers.${ROUTER:-traefik}.tls=${ENABLE_TLS:-true}"
|
||||
- "traefik.http.routers.${ROUTER:-traefik}.tls=${DASHBOARD_TLS:-true}"
|
||||
- "traefik.docker.network=${NETWORK:-traefik}"
|
||||
- "traefik.enable=${ENABLE:-false}"
|
||||
- "traefik.enable=${DASHBOARD:-false}"
|
||||
networks:
|
||||
- traefik
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user