Initial commit

Basic settings for runtipit with a tempalte
This commit is contained in:
Lockszmith (@kateryna) 2024-11-24 22:50:56 -05:00
commit 5986e4521d
5 changed files with 40 additions and 0 deletions

5
.env.local.tmpl Executable file
View File

@ -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>

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env.local

1
_template/app.env Normal file
View File

@ -0,0 +1 @@
# VARIABLE=value #comment# VARIABLE=value #comment

View File

@ -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

14
tipi-compose.yml Executable file
View File

@ -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}"