Update compose.yml
This commit is contained in:
28
compose.yml
28
compose.yml
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user