Compare commits

..

4 Commits

Author SHA1 Message Date
aki
f9531228d6 Merge branch 'feature/traefik-authelia-integration' of ssh://gitea.opossum-arcturus.ts.net:10000/aki/docker-compose-nas into feature/traefik-authelia-integration
Some checks failed
/ validate-docker-compose (push) Has been cancelled
2025-04-26 19:48:09 +08:00
aki
9b1d42cea1 feat(update-setup): Check for every occurence of the template domain and replace 2025-04-26 19:47:54 +08:00
Aki Amane
4b519610af fix(update-setup): Remove usage of --env since it does not exist
Some checks failed
/ validate-docker-compose (push) Has been cancelled
2025-04-26 19:26:00 +08:00
aki
b58a0346d1 style(update-setup): Some small touch-ups
Some checks failed
/ validate-docker-compose (push) Has been cancelled
2025-04-26 17:59:22 +08:00

View File

@ -296,11 +296,13 @@ update_authelia_config() {
existing_notifier="$existing_notifier" \
yq e -i '.notifier = strenv(existing_notifier)' "$TEMP_CONFIG"
fi
fi
# Update domain settings from .env
echo -e "${BLUE}Applying Tailscale domain settings...${NC}"
if command -v yq &> /dev/null; then
# Replace placeholder full hostname
yq e -i "walk(if type == \"string\" and . == \"tailscale-nas.your-tailnet.ts.net\" then \"${FULL_HOSTNAME}\" else . end)" "$TEMP_CONFIG"
@ -333,6 +335,7 @@ update_authelia_config() {
echo -e "${CYAN} docker compose restart authelia${NC}"
}
##################################################
# PART 3: Update service configurations
##################################################