Compare commits
No commits in common. "5d24c05f6a6c989209a679c314ba2dbcd76b1fa9" and "a5e497b2575aef14ea499101acbaaa66787c9a54" have entirely different histories.
5d24c05f6a
...
a5e497b257
|
@ -1,20 +1,10 @@
|
||||||
# user-config/.env.<system name>.local.yml
|
ACME_EMAIL=<acme admin mail>
|
||||||
ACME_EMAIL="<acme admin mail>"
|
CF_DNS_API_TOKEN=<Cloudflare DNS API Token>
|
||||||
|
|
||||||
HOST_UID="<USER's UID>"
|
SZ_USER_UID=<USER's UID>
|
||||||
HOST_GID="<USER's GID>"
|
SZ_USER_GID=<USER's GID>
|
||||||
|
|
||||||
INTERNAL_IP="192.168.1.11"
|
|
||||||
|
|
||||||
# RUNTIPI's root on the docker host
|
|
||||||
# TIPI_VERSION="v3.8.0"
|
|
||||||
RUNTIPI_ROOT_FOLDER_HOST="/mnt/<pool>/data/apps/runtipi"
|
|
||||||
|
|
||||||
# ALT_ROOT_DOMAIN=<alt domain> # optional, alternative public domain
|
|
||||||
ROOT_DOMAIN=<root.fqdn>
|
ROOT_DOMAIN=<root.fqdn>
|
||||||
DOMAIN=<root.fqdn>
|
LEGACY_ROOT_DOMAIN=<legacy domain>
|
||||||
LOCAL_DOMAIN=tipi.local
|
|
||||||
|
|
||||||
TZ="America/New_York"
|
|
||||||
|
|
||||||
# vi: ft=sh
|
# vi: ft=sh
|
||||||
|
|
|
@ -13,5 +13,3 @@ tmp.*
|
||||||
*.tmp
|
*.tmp
|
||||||
*.off
|
*.off
|
||||||
|
|
||||||
_secrets/*
|
|
||||||
!_secrets/README.md
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ BASE_NAME="$(basename -- "$0")"
|
||||||
BASE_BASE_NAME="${BASE_NAME%.*}"
|
BASE_BASE_NAME="${BASE_NAME%.*}"
|
||||||
|
|
||||||
RUNTIPI_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
RUNTIPI_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
||||||
RUNTIPI_CLI="${RUNTIPI_ROOT}/runtipi-cli"
|
RUNTIPI_CLI="${RUNTIPI_ROOT}/runtipi_cli"
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd "${RUNTIPI_ROOT}" > /dev/null
|
cd "${RUNTIPI_ROOT}" > /dev/null
|
||||||
|
@ -46,9 +46,6 @@ runtipi-app-docker-compose() {
|
||||||
echo --file apps/${APP}/docker-compose.yml
|
echo --file apps/${APP}/docker-compose.yml
|
||||||
append_file_param --file repos/29ca930bfdaffa1dfabf5726336380ede7066bc53297e3c0c868b27c97282903/apps/docker-compose.common.yml
|
append_file_param --file repos/29ca930bfdaffa1dfabf5726336380ede7066bc53297e3c0c868b27c97282903/apps/docker-compose.common.yml
|
||||||
append_file_param --file "user-config/${APP}/docker-compose.yml"
|
append_file_param --file "user-config/${APP}/docker-compose.yml"
|
||||||
else
|
|
||||||
append_file_param --file "docker-compose.yml"
|
|
||||||
append_file_param --file "user-config/tipi-compose.yml"
|
|
||||||
fi) \
|
fi) \
|
||||||
${@:2}
|
${@:2}
|
||||||
}
|
}
|
||||||
|
@ -71,11 +68,7 @@ case "${1}" in
|
||||||
runtipi-cli start --env-file user-config/.env.local --no-permissions
|
runtipi-cli start --env-file user-config/.env.local --no-permissions
|
||||||
;;
|
;;
|
||||||
update)
|
update)
|
||||||
if [ -z "${2}" ]; then
|
runtipi-cli update --env-file user-config/.env.local --no-permissions "${2:?Must supply version}" "${@:3}"
|
||||||
${SCRIPT_DIR}/checkver.sh
|
|
||||||
else
|
|
||||||
runtipi-cli update --env-file user-config/.env.local --no-permissions "${2:?Must supply version}" "${@:3}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
docker)
|
docker)
|
||||||
docker "${@:2}"
|
docker "${@:2}"
|
||||||
|
@ -90,9 +83,6 @@ case "${1}" in
|
||||||
cd "${RUNTIPI_ROOT}/../dockge/stacks/${2:?Must supply stack name}" > /dev/null
|
cd "${RUNTIPI_ROOT}/../dockge/stacks/${2:?Must supply stack name}" > /dev/null
|
||||||
docker compose "${@:3}"
|
docker compose "${@:3}"
|
||||||
;;
|
;;
|
||||||
shell)
|
|
||||||
runtipi-app-docker-compose "${2:?}" exec ${5:+"${@:5}"} -it "${4:-${2}}" "${3:-bash}"
|
|
||||||
;;
|
|
||||||
setup)
|
setup)
|
||||||
ln -s $2 "$(cd -- "${SCRIPT_DIR}" && pwd)/${BASE_NAME}" "${3:-$HOME/.local/bin/}"
|
ln -s $2 "$(cd -- "${SCRIPT_DIR}" && pwd)/${BASE_NAME}" "${3:-$HOME/.local/bin/}"
|
||||||
;;
|
;;
|
||||||
|
@ -118,10 +108,10 @@ case "${1}" in
|
||||||
"" "dls" "stylized docker ls" \
|
"" "dls" "stylized docker ls" \
|
||||||
"" "docker" "docker" \
|
"" "docker" "docker" \
|
||||||
"" "dockge" "docker compose for dockge stacks" \
|
"" "dockge" "docker compose for dockge stacks" \
|
||||||
"" "shell" "enter an insteractive shell" \
|
|
||||||
"" "" "" \
|
"" "" "" \
|
||||||
"misc." "" ""\
|
"misc." "" ""\
|
||||||
"" "exec" "execute within the shell, START_DIR env applies" \
|
"" "exec" "execute within the shell, START_DIR env applies" \
|
||||||
|
"" "shell" "enter an insteractive shell" \
|
||||||
"" "" "" \
|
"" "" "" \
|
||||||
"" "setup" "setup runtipictl in user's .local/bin dir" \
|
"" "setup" "setup runtipictl in user's .local/bin dir" \
|
||||||
"" "" "${BASE_NAME} setup" \
|
"" "" "${BASE_NAME} setup" \
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# runtipi's user-config secrets
|
|
||||||
|
|
||||||
the text files in this directory are referenced in the compose yaml files in runtipi's user-config.
|
|
||||||
the files in this directory (except this README.md file) are all ignored by git
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
# VARIABLE=value #comment
|
# VARIABLE=value #comment
|
||||||
APP_ROUTE_OPTIONAL=${ALT_ROOT_DOMAIN:+ || Host(`example.${ALT_ROOT_DOMAIN}`)}
|
APP_ROUTE_OPTIONAL=${LEGACY_ROOT_DOMAIN:+ || Host(`example.${LEGACY_ROOT_DOMAIN}`)}
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
<service-name>:
|
<service-name>:
|
||||||
hostname: <service-name>.docker
|
hostname: <service-name>.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
http:
|
|
||||||
middlewares:
|
|
||||||
authentik_sysmgr:
|
|
||||||
forwardAuth:
|
|
||||||
address: https://auth.avital14.com/outpost.goauthentik.io/auth/traefik
|
|
||||||
trustForwardHeader: true
|
|
||||||
authResponseHeadersRegex: "^[Xx]-[Aa]uthentik"
|
|
||||||
# authResponseHeaders:
|
|
||||||
# - X-authentik-username
|
|
||||||
# - X-authentik-groups
|
|
||||||
# - X-authentik-email
|
|
||||||
# - X-authentik-name
|
|
||||||
# - X-authentik-uid
|
|
||||||
# - X-authentik-jwt
|
|
||||||
# - X-authentik-meta-jwks
|
|
||||||
# - X-authentik-meta-outpost
|
|
||||||
# - X-authentik-meta-provider
|
|
||||||
# - X-authentik-meta-app
|
|
||||||
# - X-authentik-meta-version
|
|
|
@ -1,23 +0,0 @@
|
||||||
# http routing section
|
|
||||||
http:
|
|
||||||
routers:
|
|
||||||
# Define a connection between requests and services
|
|
||||||
home-assistant:
|
|
||||||
rule: "Host(`dockge.toronto.avital14.com`)"
|
|
||||||
entrypoints:
|
|
||||||
- websecure
|
|
||||||
# # If the rule matches, applies the middleware
|
|
||||||
# middlewares:
|
|
||||||
# - test-user
|
|
||||||
# If the rule matches, forward to the whoami service (declared below)
|
|
||||||
service: home-assistant
|
|
||||||
tls:
|
|
||||||
certresolver: myresolver
|
|
||||||
|
|
||||||
services:
|
|
||||||
# Define how to reach an existing service on our infrastructure
|
|
||||||
home-assistant:
|
|
||||||
loadBalancer:
|
|
||||||
servers:
|
|
||||||
- url: "http://dockge:31014"
|
|
||||||
#- address: "ha.lan:8123"
|
|
|
@ -1,8 +1,8 @@
|
||||||
services:
|
services:
|
||||||
code-server:
|
code-server:
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /:/mnt/runtipi.host
|
- /:/mnt/runtipi.host
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
services:
|
services:
|
||||||
ddns-updater:
|
ddns-updater:
|
||||||
environment:
|
environment:
|
||||||
USER_UID: "${HOST_UID}"
|
USER_UID: "${SZ_USER_UID}"
|
||||||
USER_GID: "${HOST_GID}"
|
USER_GID: "${SZ_USER_GID}"
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
# DATADIR: "/updater/data"
|
# DATADIR: "/updater/data"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
HOST_UID=<UID>
|
SZ_USER_UID=<UID>
|
||||||
HOST_GID=<GID>
|
SZ_USER_GID=<GID>
|
||||||
|
|
|
@ -16,10 +16,10 @@ services:
|
||||||
RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}"
|
RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}"
|
||||||
RUNTIPI_DOMAIN: "${DOMAIN}"
|
RUNTIPI_DOMAIN: "${DOMAIN}"
|
||||||
RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}"
|
RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}"
|
||||||
HOST_UID: "${HOST_UID}"
|
SZ_USER_UID: "${SZ_USER_UID}"
|
||||||
HOST_GID: "${HOST_GID}"
|
SZ_USER_GID: "${SZ_USER_GID}"
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
TZ: "${TZ:?Did you forget to define TZ in the root RunTipi .env.local?}"
|
TZ: "${TZ:?Did you forget to define TZ in the root RunTipi .env.local?}"
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.dockge.rule: Host(`dockge.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
|
traefik.http.routers.dockge.rule: Host(`dockge.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
dozzle:
|
dozzle:
|
||||||
hostname: dozzle.docker
|
hostname: dozzle.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
services:
|
services:
|
||||||
forgejo:
|
forgejo:
|
||||||
environment:
|
environment:
|
||||||
USER_UID: "${HOST_UID}"
|
USER_UID: "${SZ_USER_UID}"
|
||||||
USER_GID: "${HOST_GID}"
|
USER_GID: "${SZ_USER_GID}"
|
||||||
|
|
||||||
FORGEJO__server__DOMAIN: "code.${ALT_ROOT_DOMAIN}"
|
FORGEJO__server__DOMAIN: "code.${ALT_ROOT_DOMAIN}"
|
||||||
FORGEJO__server__ROOT_URL: "https://code.${ALT_ROOT_DOMAIN}"
|
FORGEJO__server__ROOT_URL: "https://code.${ALT_ROOT_DOMAIN}"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
services:
|
services:
|
||||||
homepage:
|
homepage:
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
@ -18,7 +18,7 @@ services:
|
||||||
# Websecure
|
# Websecure
|
||||||
traefik.http.routers.homepage.middlewares: authentik_sysmgr@file
|
traefik.http.routers.homepage.middlewares: authentik_sysmgr@file
|
||||||
traefik.http.routers.homepage.rule: Host(`www.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
|
traefik.http.routers.homepage.rule: Host(`www.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
|
||||||
# #traefik.http.routers.homepage-more.rule: Host(`www.${ALT_ROOT_DOMAIN}`)
|
# #traefik.http.routers.homepage-more.rule: Host(`www.${LEGACY_ROOT_DOMAIN}`)
|
||||||
# traefik.http.routers.homepage-more.entrypoints: websecure
|
# traefik.http.routers.homepage-more.entrypoints: websecure
|
||||||
# traefik.http.routers.homepage-more.service: homepage
|
# traefik.http.routers.homepage-more.service: homepage
|
||||||
# traefik.http.routers.homepage-more.middlewares: authentik_sysmgr@file
|
# traefik.http.routers.homepage-more.middlewares: authentik_sysmgr@file
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
overseerr:
|
overseerr:
|
||||||
hostname: overseerr.docker
|
hostname: overseerr.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
services:
|
services:
|
||||||
plex:
|
plex:
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
network_mode: "container:net-plex"
|
network_mode: "container:net-plex"
|
||||||
#networks: []
|
#networks: []
|
||||||
volumes_from:
|
volumes_from:
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
prowlarr:
|
prowlarr:
|
||||||
hostname: prowlarr.docker
|
hostname: prowlarr.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
radarr:
|
radarr:
|
||||||
hostname: radarr.docker
|
hostname: radarr.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
sabnzbd:
|
sabnzbd:
|
||||||
hostname: nzb.docker
|
hostname: nzb.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
sonarr:
|
sonarr:
|
||||||
hostname: sonarr.docker
|
hostname: sonarr.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
syncthing:
|
syncthing:
|
||||||
hostname: syncthing.docker
|
hostname: syncthing.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
36
szetup.sh
36
szetup.sh
|
@ -24,6 +24,7 @@ else
|
||||||
echo "No matching symbolic links found to delete."
|
echo "No matching symbolic links found to delete."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
find "$TOP_DIR/_templates" -maxdepth 1 -mindepth 1 -type f -name "*.${SYS_NAME}" -print0 \
|
find "$TOP_DIR/_templates" -maxdepth 1 -mindepth 1 -type f -name "*.${SYS_NAME}" -print0 \
|
||||||
| while IFS= read -r -d '' file; do
|
| while IFS= read -r -d '' file; do
|
||||||
base=$(basename "$file" ".${SYS_NAME}")
|
base=$(basename "$file" ".${SYS_NAME}")
|
||||||
|
@ -32,38 +33,3 @@ find "$TOP_DIR/_templates" -maxdepth 1 -mindepth 1 -type f -name "*.${SYS_NAME}"
|
||||||
ln -vrs "${file}" "${TOP_DIR}/${base%${ext}}local.$ext"
|
ln -vrs "${file}" "${TOP_DIR}/${base%${ext}}local.$ext"
|
||||||
done
|
done
|
||||||
|
|
||||||
SECRET_BASE="${SCRIPT_DIR}/_secrets"
|
|
||||||
SECRETS=(
|
|
||||||
"tipi_jwt_secret"
|
|
||||||
"tipi_postgres_password"
|
|
||||||
"tipi_redis_password"
|
|
||||||
)
|
|
||||||
for file in "${SECRETS[@]}"; do
|
|
||||||
secret="${SECRET_BASE}/${file}.txt"
|
|
||||||
printf '%s secret ' "${file}"
|
|
||||||
if [ -s "${secret}" ]; then
|
|
||||||
printf 'exists.'
|
|
||||||
else
|
|
||||||
printf 'generating... '
|
|
||||||
curl -s "https://makemeapassword.ligos.net/api/v1/passphrase/plain?pc=1&wc=6&sp=y&maxCh=64" \
|
|
||||||
| sed -Ee 's/ /-/g;' > "${secret}"
|
|
||||||
printf 'ready.'
|
|
||||||
fi
|
|
||||||
printf '\n'
|
|
||||||
done
|
|
||||||
|
|
||||||
SECRETS=(
|
|
||||||
"traefik_cf_dns_api_token"
|
|
||||||
)
|
|
||||||
for file in "${SECRETS[@]}"; do
|
|
||||||
secret="${SECRET_BASE}/${file}.txt"
|
|
||||||
printf '%s secret ' "${file}"
|
|
||||||
if [ -s "${secret}" ]; then
|
|
||||||
printf 'exists.'
|
|
||||||
else
|
|
||||||
printf 'missing!'
|
|
||||||
fi
|
|
||||||
printf '\n'
|
|
||||||
done
|
|
||||||
|
|
||||||
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ services:
|
||||||
tautulli:
|
tautulli:
|
||||||
hostname: tautulli.docker
|
hostname: tautulli.docker
|
||||||
environment:
|
environment:
|
||||||
PUID: "${HOST_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${HOST_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
# RUNTIPI Environment
|
# RUNTIPI Environment
|
||||||
RUNTIPI_APP_PORT: "${APP_PORT}"
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
||||||
RUNTIPI_APP_ID: "${APP_ID}"
|
RUNTIPI_APP_ID: "${APP_ID}"
|
||||||
|
|
|
@ -1,19 +1,5 @@
|
||||||
secrets:
|
|
||||||
# tipi_jwt_secret:
|
|
||||||
# file: ${RUNTIPI_ROOT_FOLDER_HOST}/user-config/_secrets/tipi_jwt_secret.txt
|
|
||||||
# # JWT_SECRET: /run/secrets/tipi_jwt_secret
|
|
||||||
# tipi_postgres_password:
|
|
||||||
# file: ${RUNTIPI_ROOT_FOLDER_HOST}/user-config/_secrets/tipi_postgres_password.txt
|
|
||||||
# # POSTGRES_PASSWORD: /run/secrets/tipi_postgres_password
|
|
||||||
# tipi_redis_password:
|
|
||||||
# file: ${RUNTIPI_ROOT_FOLDER_HOST}/user-config/_secrets/tipi_redis_password.txt
|
|
||||||
# # REDIS_PASSWORD: /run/secrets/tipi_redis_password
|
|
||||||
traefik_cf_dns_api_token:
|
|
||||||
file: ${RUNTIPI_ROOT_FOLDER_HOST}/user-config/_secrets/traefik_cf_dns_api_token.txt
|
|
||||||
services:
|
services:
|
||||||
runtipi-reverse-proxy:
|
runtipi-reverse-proxy:
|
||||||
secrets:
|
|
||||||
- traefik_cf_dns_api_token
|
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./traefik/shared
|
source: ./traefik/shared
|
||||||
|
@ -44,20 +30,15 @@ services:
|
||||||
- '--certificatesresolvers.myresolver.acme.email=${ACME_EMAIL}'
|
- '--certificatesresolvers.myresolver.acme.email=${ACME_EMAIL}'
|
||||||
environment:
|
environment:
|
||||||
CF_API_EMAIL: "${ACME_EMAIL:?}"
|
CF_API_EMAIL: "${ACME_EMAIL:?}"
|
||||||
CF_DNS_API_TOKEN_FILE: /run/secrets/traefik_cf_dns_api_token
|
CF_DNS_API_TOKEN: "${CF_DNS_API_TOKEN:?}"
|
||||||
TRAEFIK_API_DISABLEDASHBOARDAD: "true"
|
TRAEFIK_API_DISABLEDASHBOARDAD: "true"
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
- tipi_internal_network
|
- tipi_internal_network
|
||||||
- ix-dockge
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
tipi_internal_network:
|
tipi_internal_network:
|
||||||
internal: true
|
internal: true
|
||||||
attachable: true
|
attachable: true
|
||||||
name: runtipi_internal_network
|
name: runtipi_internal_network
|
||||||
ix-dockge:
|
|
||||||
external: true
|
|
||||||
name: ix-dockge_default
|
|
||||||
|
|
||||||
# vim: set ft=yaml expandtab tabstop=2 shiftwidth=2:
|
|
||||||
|
|
Loading…
Reference in New Issue