my-runtipi/_template/docker-compose.yml

32 lines
1.3 KiB
YAML
Raw Normal View History

services:
<service-name>:
2024-12-02 22:44:36 +00:00
hostname: <service-name>.docker
environment:
2024-12-08 21:53:10 +00:00
PUID: "${SZ_USER_UID}"
PGID: "${SZ_USER_GID}"
2024-12-02 22:44:36 +00:00
# RUNTIPI Environment
RUNTIPI_APP_PORT: "${APP_PORT}"
RUNTIPI_APP_ID: "${APP_ID}"
RUNTIPI_APP_DATA_DIR: "${APP_DATA_DIR}"
2024-12-02 22:44:36 +00:00
RUNTIPI_APP_EXPOSED: "${APP_EXPOSED:-}"
RUNTIPI_APP_DOMAIN: "${APP_DOMAIN}"
RUNTIPI_APP_HOST: "${APP_HOST}"
2024-12-02 22:44:36 +00:00
RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}"
RUNTIPI_DOMAIN: "${DOMAIN}"
RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}"
# volumes_from:
2024-12-04 06:43:31 +00:00
# - "container:vols-dl"
# - "container:vols-personal-media"
# - "container:vols-shared-media"
# - "container:vols-media"
# - "container:vols-arr"
# - "container:vols-plex"
labels:
# Websecure
traefik.http.routers.<service-name>.middlewares: authentik_sysmgr@file
2024-12-02 22:44:36 +00:00
# traefik.http.routers.<service-name>-more.rule: Host(`<service-name>.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
# traefik.http.routers.<service-name>-more.entrypoints: websecure
# traefik.http.routers.<service-name>-more.service: <service-name>
# traefik.http.routers.<service-name>-more.middlewares: authentik_sysmgr@file
# traefik.http.routers.<service-name>-more.tls: true
# traefik.http.routers.<service-name>-more.tls.certresolver: myresolver