feat: implement comprehensive variable management system

- Create standardized group_vars directory structure
- Add domains.yml with centralized subdomain mappings
- Add infrastructure.yml with network, SMTP, and path config
- Reorganize vault.yml secrets by service with consistent naming
- Update 15+ Docker compose templates to use new variable structure
- Simplify playbook commands by removing --extra-vars requirement
- Replace hardcoded domains/IPs with template variables
- Standardize secret references across all services

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-06-06 15:14:47 -06:00
parent 8d686c2aa5
commit 12582b352c
20 changed files with 187 additions and 104 deletions

View File

@ -5,11 +5,11 @@ services:
container_name: changedetection
hostname: changedetection
extra_hosts:
- 'chat.thesatelliteoflove.com:172.20.0.5'
- '{{ subdomains.chat }}:172.20.0.5'
labels:
glance.name: Changedetection
glance.icon: si:watchtower
glance.url: https://watcher.thesatelliteoflove.com/
glance.url: https://{{ subdomains.watcher }}/
glance.description: Changedetection
glance.id: changedetection
volumes:
@ -50,7 +50,7 @@ services:
# - NO_PROXY="localhost,192.168.0.0/24"
#
# Base URL of your changedetection.io install (Added to the notification alert)
- BASE_URL=https://watcher.thesatelliteoflove.com
- BASE_URL=https://{{ subdomains.watcher }}
# Respect proxy_pass type settings, `proxy_set_header Host "localhost";` and `proxy_set_header X-Forwarded-Prefix /app;`
# More here https://github.com/dgtlmoon/changedetection.io/wiki/Running-changedetection.io-behind-a-reverse-proxy-sub-directory
# - USE_X_SETTINGS=1
@ -130,4 +130,4 @@ volumes:
networks:
default:
external: true
name: lava
name: {{ docker.network_name }}