Initial commit
Basic settings for runtipit with a tempalte
This commit is contained in:
commit
5986e4521d
|
@ -0,0 +1,5 @@
|
||||||
|
ACME_EMAIL=<acme admin mail>
|
||||||
|
CF_DNS_API_TOKEN=<Cloudflare DNS API Token>
|
||||||
|
|
||||||
|
SZ_USER_UID=<USER's UID>
|
||||||
|
SZ_USER_GID=<USER's GID>
|
|
@ -0,0 +1 @@
|
||||||
|
.env.local
|
|
@ -0,0 +1 @@
|
||||||
|
# VARIABLE=value #comment# VARIABLE=value #comment
|
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
<service-name>:
|
||||||
|
environment:
|
||||||
|
# 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}"
|
||||||
|
labels:
|
||||||
|
# Websecure
|
||||||
|
traefik.http.routers.<service-name>.middlewares: authentik_sysmgr@file
|
||||||
|
# traefik.http.routers.<service-name>-more.rule: Host(`<service-name>.lksz.me`)${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
|
|
@ -0,0 +1,14 @@
|
||||||
|
services:
|
||||||
|
runtipi-reverse-proxy:
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
command:
|
||||||
|
- '--providers.docker'
|
||||||
|
- '--providers.file.directory=/srv/runtipi/traefik/dynamic'
|
||||||
|
- '--certificatesresolvers.myresolver.acme.email=${ACME_EMAIL}'
|
||||||
|
- '--certificatesresolvers.myresolver.acme.storage=/shared/acme.json'
|
||||||
|
- '--certificatesresolvers.myresolver.acme.dnshallenge.entrypoint=cloudflare'
|
||||||
|
environment:
|
||||||
|
CF_API_EMAIL: "${ACME_EMAIL}"
|
||||||
|
CF_DNS_API_TOKEN: "${CF_DNS_API_TOKEN}"
|
||||||
|
|
Loading…
Reference in New Issue