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:
@ -10,7 +10,7 @@ services:
|
||||
- dawarich_db_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: {{ dawarich_db_password }}
|
||||
POSTGRES_PASSWORD: {{ vault_dawarich.postgres_password }}
|
||||
POSTGRES_DB: dawarich_production
|
||||
restart: always
|
||||
healthcheck:
|
||||
@ -25,7 +25,7 @@ services:
|
||||
labels:
|
||||
glance.name: Dawarich
|
||||
glance.icon: si:openstreetmap
|
||||
glance.url: https://loclog.thesatelliteoflove.com/
|
||||
glance.url: https://{{ subdomains.loclog }}/
|
||||
glance.description: Dawarich
|
||||
glance.id: dawarich
|
||||
volumes:
|
||||
@ -45,10 +45,10 @@ services:
|
||||
DATABASE_HOST: dawarich_db
|
||||
DATABASE_PORT: 5432
|
||||
DATABASE_USERNAME: postgres
|
||||
DATABASE_PASSWORD: {{ dawarich_db_password }}
|
||||
DATABASE_PASSWORD: {{ vault_dawarich.postgres_password }}
|
||||
DATABASE_NAME: dawarich_production
|
||||
MIN_MINUTES_SPENT_IN_CITY: 60
|
||||
APPLICATION_HOSTS: loclog.thesatelliteoflove.com,localhost,::1,127.0.0.1
|
||||
APPLICATION_HOSTS: {{ subdomains.loclog }},localhost,::1,127.0.0.1
|
||||
TIME_ZONE: America/Denver
|
||||
APPLICATION_PROTOCOL: http
|
||||
DISTANCE_UNIT: mi
|
||||
@ -85,4 +85,4 @@ volumes:
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: lava
|
||||
name: {{ docker.network_name }}
|
Reference in New Issue
Block a user