Files
2026-03-17 17:29:50 -04:00

41 lines
1.6 KiB
Bash

SERVER_NAME=
SERVER_IP=
SUBDOMAIN=
SERVICE_NAME=dbgate
# #############################################################################
# Variables above this line are used for templating only,
# they are not used by the compose file directly
# #############################################################################
# Remaining Variables are used by the compose file
CONTAINER_NAME=${SERVICE_NAME}
INTERNAL_PORT=3000
EXTERNAL_PORT=3027
LOCAL_URL=http://${SERVER_IP}:${EXTERNAL_PORT}
# Services that exist on multiple servers should include ${SERVER_NAME} in PROXY_URL
# Services that exist on a single server can omit ${SERVER_NAME}
PROXY_URL=${SERVICE_NAME}.${SUBDOMAIN}.duckdns.org
# 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_ENABLE_LABEL=traefik.enable=true
HOST_LABEL=traefik.http.routers.${SERVICE_NAME}.rule=Host(`${PROXY_URL}`)
ICON_LABEL=com.getarcaneapp.arcane.icon=${ICON_URL}
LOADBALANCER_LABEL=traefik.http.services.${SERVICE_NAME}.loadbalancer.server.port=${INTERNAL_PORT}
TRAEFIK_NETWORK_LABEL=traefik.docker.network=traefik-network
ENTRYPOINT_LABEL=traefik.http.routers.${SERVICE_NAME}.entrypoints=websecure
CERT_LABEL=traefik.http.routers.${SERVICE_NAME}.tls.certresolver=letsencrypt
AUTHELIA_LABEL=traefik.http.routers.${SERVICE_NAME}.middlewares=authelia@docker
WATCHTOWER_ENABLE_LABEL=com.centurylinklabs.watchtower.enable=true