icorp host profiles into scripts that needed it
This commit is contained in:
+11
-3
@@ -104,10 +104,18 @@
|
||||
# Gitea self-hosted repository settings used by git_pull_execute.sh.
|
||||
# Running git_pull_execute.sh on either server pulls the latest scripts and sets
|
||||
# executable permissions automatically — keeps both servers in sync with one command.
|
||||
REPO_SSH="git@192.168.50.2:FailedProxy/Unraid_Scripts.git"
|
||||
#
|
||||
# git_pull_execute.sh detects where the Gitea container is running at runtime:
|
||||
# Gitea running locally → connects via local IP
|
||||
# Gitea running remotely → connects via remote server's Tailscale IP
|
||||
# No hardcoded assumptions about which server hosts Gitea — works through failover.
|
||||
# If Gitea fails over to HOST2, HOST1 automatically finds it there and vice versa.
|
||||
|
||||
GITEA_CONTAINER="Gitea" # exact Docker container name
|
||||
GITEA_REPO_PATH="FailedProxy/Unraid_Scripts.git" # repo path on Gitea
|
||||
TARGET_DIR="/mnt/user/appdata/unraid_scripts"
|
||||
GITEA_SSH_KEY="/root/.ssh/unraid_gitea" # SSH key for authenticating to Gitea
|
||||
SSH_PORT=221 # Gitea SSH port — default Gitea uses 22
|
||||
GITEA_SSH_KEY="/root/.ssh/unraid_gitea" # SSH key for authenticating to Gitea
|
||||
SSH_PORT=221 # Gitea SSH port
|
||||
|
||||
# ==============================================================================================
|
||||
# ── RSYNC ─────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user