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