generated from kelin/Compose-Template
39 lines
1019 B
Plaintext
39 lines
1019 B
Plaintext
# Timezone
|
|
TZ=America/New_York
|
|
|
|
# Source directories
|
|
SOURCE_STACKS_DIR=/opt
|
|
SOURCE_HOME_DIR=/~
|
|
|
|
# Backup location directory
|
|
BACKUP_DIR=/mnt/restic-usb
|
|
|
|
# Server Details
|
|
SERVER_NAME=
|
|
SERVER_IP=
|
|
|
|
# Service Details
|
|
DOCKER_IMAGE=
|
|
CONTAINER_NAME=
|
|
SERVICE_NAME=
|
|
INTERNAL_PORT=
|
|
EXTERNAL_PORT=
|
|
LOCAL_URL=http://${SERVER_IP}.${EXTERNAL_PORT}
|
|
|
|
# Services that exist on multiple servers should include ${SERVER_NAME}
|
|
# Services that exist on a single server can omit ${SERVER_NAME}
|
|
PROXY_URL=${SERVICE_NAME}.${SERVER_NAME}.${SUBDOMAIN}.duckdns.org
|
|
|
|
CATEGORY_LABEL=
|
|
DESCRIPTION_LABEL=
|
|
HOST_LABEL='traefik.http.routers.${SERVICE_NAME}.rule=Host(`${PROXY_URL}`)'
|
|
LOADBALANCER_LABEL='traefik.http.services.${SERVICE_NAME}.loadbalancer.server.port=${INTERNAL_PORT}'
|
|
|
|
# Enable Traefik label
|
|
TRAEFIK_ENABLE_LABEL='traefik.enable=true'
|
|
|
|
# Enable Authelia label
|
|
AUTHELIA_LABEL='traefik.http.routers.${SERVICE_NAME}.middlewares=authelia@docker'
|
|
|
|
# Enable Watchtower label
|
|
WATCHTOWER_ENABLE_LABEL='com.centurylinklabs.watchtower.enable=true' |