42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# #######################################################
|
|
# Templating variables, not used by compose file directly
|
|
SERVER_NAME=
|
|
SERVER_IP=
|
|
SUBDOMAIN=
|
|
ICON_URL=https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/traefik.svg
|
|
|
|
# Include Server Name in Proxy URL? Choose one.
|
|
|
|
# PROXY_URL=${SERVICE_NAME}.${SERVER_NAME}.${SUBDOMAIN}.duckdns.org
|
|
# PROXY_URL=${SERVICE_NAME}.${SUBDOMAIN}.duckdns.org
|
|
|
|
# #############################################################################
|
|
# Compose file variables
|
|
|
|
TZ=America/New_York
|
|
PUID=1000
|
|
PGID=1000
|
|
|
|
LOCAL_URL=http://${SERVER_IP}:${EXTERNAL_PORT}
|
|
|
|
DUCKDNS_SUBDOMAINS=
|
|
DUCKDNS_TOKEN=
|
|
|
|
AUTHELIA_JWT_SECRET=
|
|
AUTHELIA_SESSION_SECRET=
|
|
AUTHELIA_STORAGE_ENCRYPTION_KEY=
|
|
AUTHELIA_ADMIN_PASSWORD_HASH=
|
|
|
|
# #############################################################
|
|
# Container Labels
|
|
|
|
# DO NOT enclose label values in single quotes
|
|
# If the value needs to include single quotes use backticks instead
|
|
|
|
# For example HOST_LABEL=traefik.http.routers.${SERVICE_NAME}.rule=Host(`${PROXY_URL}`)
|
|
# Notice the use of backticks instead of single quotes around ${PROXY_URL}
|
|
|
|
TRAEFIK_HOST_LABEL=traefik.http.routers.traefik.rule=Host(`traefik.${SUBDOMAIN}.duckdns.org`)
|
|
AUTHELIA_HOST_LABEL=traefik.http.routers.authelia.rule=Host(`auth.${SUBDOMAIN}.duckdns.org`)
|
|
AUTHELIA_FORWARD_AUTH_LABEL=traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.${SUBDOMAIN}.duckdns.org/
|