Update compose.yml

This commit is contained in:
2026-03-14 20:10:31 -04:00
parent 6063d39c4d
commit a96e6118fb

View File

@@ -1,6 +1,6 @@
services: services:
${SERVICE_NAME}: SERVICE_NAME:
image: ${DOCKER_IMAGE} image: ${DOCKER_IMAGE}
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: unless-stopped restart: unless-stopped
@@ -25,20 +25,16 @@ services:
labels: labels:
# Labels in compose files are treated as literal strings, disallowing variable replacement in the string # Labels in compose files are treated as literal strings, disallowing variable replacement in the string
# However the string can be defined as a variable # However the string can be defined as a variable
- ${HOST_LABEL}
- $(AUTHELIA_LABEL)
- ${TRAEFIK_ENABLE_LABEL}
- ${WATCHTOWER_ENABLE_LABEL} - ${WATCHTOWER_ENABLE_LABEL}
- ${LOADBALANCER_LABEL}
- ${CATEGORY_LABEL} - ${CATEGORY_LABEL}
- ${DESCRIPTION_LABEL} - ${DESCRIPTION_LABEL}
# All services being proxied by Traefik must be on this network - ${TRAEFIK_ENABLE_LABEL}
- 'traefik.docker.network=traefik-network' - ${TRAEFIK_NETWORK_LABEL}
# This enables https - ${HOST_LABEL}
- 'traefik.http.routers.backrest.entrypoints=websecure' - ${ENTRYPOINT_LABEL}
# This enables letsencrypt certificates - ${CERT_LABEL}
- 'traefik.http.routers.backrest.tls.certresolver=letsencrypt' - ${AUTHELIA_LABEL}
# Define the category and description of this service - ${LOADBALANCER_LABEL}
networks: networks:
@@ -51,4 +47,10 @@ networks:
x-dockge: x-dockge:
urls: urls:
- https://${PROXY_URL} - https://${PROXY_URL}
- https://${LOCAL_URL} - ${LOCAL_URL}
x-arcane:
icon:
urls:
- https://${PROXY_URL}
- ${LOCAL_URL}