Compare commits
1 Commits
f9531228d6
...
9ac533865d
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ac533865d |
@ -296,13 +296,11 @@ update_authelia_config() {
|
|||||||
existing_notifier="$existing_notifier" \
|
existing_notifier="$existing_notifier" \
|
||||||
yq e -i '.notifier = strenv(existing_notifier)' "$TEMP_CONFIG"
|
yq e -i '.notifier = strenv(existing_notifier)' "$TEMP_CONFIG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update domain settings from .env
|
# Update domain settings from .env
|
||||||
echo -e "${BLUE}Applying Tailscale domain settings...${NC}"
|
echo -e "${BLUE}Applying Tailscale domain settings...${NC}"
|
||||||
|
|
||||||
if command -v yq &> /dev/null; then
|
|
||||||
# Replace placeholder full hostname
|
# 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"
|
yq e -i "walk(if type == \"string\" and . == \"tailscale-nas.your-tailnet.ts.net\" then \"${FULL_HOSTNAME}\" else . end)" "$TEMP_CONFIG"
|
||||||
|
|
||||||
@ -335,7 +333,6 @@ update_authelia_config() {
|
|||||||
echo -e "${CYAN} docker compose restart authelia${NC}"
|
echo -e "${CYAN} docker compose restart authelia${NC}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
##################################################
|
##################################################
|
||||||
# PART 3: Update service configurations
|
# PART 3: Update service configurations
|
||||||
##################################################
|
##################################################
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user