- Replace git.michaelschiemer.de:5000 (HTTP) with registry.michaelschiemer.de (HTTPS) - Update all Ansible playbooks and configuration files - Update CI/CD workflows to use HTTPS registry endpoint - Update Docker Compose files with new registry URL - Update documentation and scripts Benefits: - Secure HTTPS connection (no insecure registry config needed) - Consistent use of HTTPS endpoint via Traefik - Better security practices for production deployment
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
---
|
|
# Production Deployment - Centralized Variables
|
|
# These variables are used across all playbooks
|
|
|
|
# Deployment Paths
|
|
deploy_user_home: "/home/deploy"
|
|
stacks_base_path: "{{ deploy_user_home }}/deployment/stacks"
|
|
app_stack_path: "{{ stacks_base_path }}/application"
|
|
backups_path: "{{ deploy_user_home }}/deployment/backups"
|
|
|
|
# Docker Registry
|
|
docker_registry: "localhost:5000"
|
|
docker_registry_url: "localhost:5000"
|
|
docker_registry_external: "registry.michaelschiemer.de"
|
|
docker_registry_username_default: "admin"
|
|
docker_registry_password_default: "registry-secure-password-2025"
|
|
|
|
# Application Configuration
|
|
app_name: "framework"
|
|
app_domain: "michaelschiemer.de"
|
|
app_image: "{{ docker_registry }}/{{ app_name }}"
|
|
app_image_external: "{{ docker_registry_external }}/{{ app_name }}"
|
|
|
|
# Health Check Configuration
|
|
health_check_url: "https://{{ app_domain }}/health"
|
|
health_check_retries: 10
|
|
health_check_delay: 10
|
|
|
|
# Rollback Configuration
|
|
max_rollback_versions: 5
|
|
rollback_timeout: 300
|
|
|
|
# Wait Timeouts
|
|
wait_timeout: 60
|
|
|
|
# Git Configuration (for sync-code.yml)
|
|
git_repository_url_default: "https://git.michaelschiemer.de/michael/michaelschiemer.git"
|
|
git_branch_default: "main"
|