From 830b96576b31190523c6869bb536927c54acf7a2 Mon Sep 17 00:00:00 2001 From: S Date: Mon, 2 Mar 2026 21:07:26 -0500 Subject: [PATCH] fix: remove unnecessary DNS and mirror hosts configuration for Unraid --- phase1_gitea_unraid.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phase1_gitea_unraid.sh b/phase1_gitea_unraid.sh index 5bf845f..fd0631b 100755 --- a/phase1_gitea_unraid.sh +++ b/phase1_gitea_unraid.sh @@ -87,6 +87,11 @@ else "\${GITEA_VERSION} \${DATA_PATH} \${GITEA_CONTAINER_IP} \${GITEA_NETWORK_NAME} \${DB_DOCKER_IMAGE} \${DB_ENV_VARS} \${DB_DATA_DIR} \${DB_HEALTHCHECK}" fi + # Unraid uses br0 which inherits host DNS — no override needed. + # Unraid is the primary instance — it doesn't mirror from anywhere. + strip_template_block "$TMPFILE" "DNS_OVERRIDE_START" "DNS_OVERRIDE_END" + strip_template_block "$TMPFILE" "MIRROR_HOSTS_START" "MIRROR_HOSTS_END" + scp_to UNRAID "$TMPFILE" "${COMPOSE_DIR}/docker-compose.yml" rm -f "$TMPFILE" log_success "docker-compose.yml deployed to ${COMPOSE_DIR}"