Add IP forwarding to entrypoint
Some checks failed
Test / test (push) Has been cancelled

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-16 22:58:43 +00:00
parent 69062bd828
commit 767526054e
9 changed files with 4 additions and 908 deletions

View File

@@ -1,29 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
# Generates a Traefik BasicAuth users string using Apache MD5 (apr1).
# Output format matches Traefik label: basicauth.users="user:hash"
#
# Usage:
# ./generate-traefik-basicauth.sh <username> <password>
#
# Recommended to paste output into:
# /etc/runtipi/app-data/runtipi/rego-tunnel/app.env
# as:
# NOVNC_BASIC_AUTH_USERS='<output>'
user="${1:-}"
pass="${2:-}"
if [[ -z "$user" || -z "$pass" ]]; then
echo "Usage: $0 <username> <password>" >&2
exit 2
fi
if ! command -v openssl >/dev/null 2>&1; then
echo "openssl not found; cannot generate apr1 hash" >&2
exit 1
fi
hash="$(openssl passwd -apr1 "$pass")"
printf "%s:%s\n" "$user" "$hash"