_traefik templates

This commit is contained in:
Lockszmith (@kateryna) 2025-01-16 11:01:45 -05:00
parent 7dcdc2d8db
commit 70050427d0
14 changed files with 264 additions and 12 deletions

View file

@ -0,0 +1,24 @@
services:
syncthing:
hostname: syncthing.docker
environment:
PUID: "${SZ_USER_UID}"
PGID: "${SZ_USER_GID}"
# RUNTIPI Environment
RUNTIPI_APP_PORT: "${APP_PORT}"
RUNTIPI_APP_ID: "${APP_ID}"
RUNTIPI_APP_DATA_DIR: "${APP_DATA_DIR}"
RUNTIPI_APP_EXPOSED: "${APP_EXPOSED:-}"
RUNTIPI_APP_DOMAIN: "${APP_DOMAIN}"
RUNTIPI_APP_HOST: "${APP_HOST}"
RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}"
RUNTIPI_DOMAIN: "${DOMAIN}"
RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}"
volumes_from:
- "container:vols-all"
volumes:
- "/mnt/szmedia/sync.root:/mnt/szmedia/sync.root"
labels:
# Websecure
traefik.http.routers.syncthing.middlewares: authentik_sysmgr@file
traefik.http.routers.syncthing.rule: Host(`sync.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}