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:
39
group_vars/all/domains.yml
Normal file
39
group_vars/all/domains.yml
Normal file
@ -0,0 +1,39 @@
|
||||
# Domain Configuration
|
||||
primary_domain: "thesatelliteoflove.com"
|
||||
secondary_domain: "nerder.land"
|
||||
|
||||
# Subdomain mappings
|
||||
subdomains:
|
||||
auth: "auth.{{ primary_domain }}"
|
||||
git: "git.{{ primary_domain }}"
|
||||
cal: "cal.{{ primary_domain }}"
|
||||
docs: "docs.{{ primary_domain }}"
|
||||
phlog: "phlog.{{ primary_domain }}" # Ghost blog
|
||||
bookmarks: "bookmarks.{{ primary_domain }}" # Hoarder/Karakeep
|
||||
heyform: "forms.{{ secondary_domain }}" # Heyform on nerder.land
|
||||
media: "media.{{ primary_domain }}"
|
||||
audio: "audio.{{ primary_domain }}" # Audiobookshelf
|
||||
books: "books.{{ primary_domain }}" # Calibre
|
||||
models: "models.{{ primary_domain }}" # Manyfold
|
||||
pinchflat: "pinchflat.{{ primary_domain }}"
|
||||
pin: "pin.{{ primary_domain }}" # Pinry
|
||||
papers: "papers.{{ primary_domain }}" # Paperless-NGX
|
||||
tasks: "tasks.{{ primary_domain }}" # MMDL
|
||||
syncthing: "syncthing.{{ primary_domain }}"
|
||||
loclog: "loclog.{{ primary_domain }}" # Dawarich
|
||||
pingvin: "pingvin.{{ primary_domain }}"
|
||||
social: "social.{{ primary_domain }}" # GoToSocial
|
||||
post: "post.{{ primary_domain }}" # Postiz
|
||||
home: "home.{{ primary_domain }}" # Glance
|
||||
watcher: "watcher.{{ primary_domain }}" # Changedetection
|
||||
appriseapi: "appriseapi.{{ primary_domain }}"
|
||||
dockge: "dockge.{{ primary_domain }}"
|
||||
code: "code.{{ primary_domain }}" # Code Server
|
||||
chat: "chat.{{ primary_domain }}" # Conduit Matrix
|
||||
|
||||
# Email domains for notifications
|
||||
email_domains:
|
||||
updates: "updates.{{ primary_domain }}"
|
||||
auth_email: "auth@updates.{{ primary_domain }}"
|
||||
git_email: "git@updates.{{ primary_domain }}"
|
||||
cal_email: "cal@updates.{{ primary_domain }}"
|
Reference in New Issue
Block a user