--- # ============================================================================= # Gitea Migration Configuration # ============================================================================= # Migrating from stuslab.cc to code.stuslab.cc with Authentik OAuth # # Before running: # 1. Ensure Authentik is deployed at auth.stuslab.cc # 2. Create group_vars/vault.yml from vault.yml.example # 3. Add DNS record: code.stuslab.cc -> 94.130.181.201 # 4. Run: ansible-playbook -i inventory.yml playbook.yml --ask-vault-pass # ============================================================================= # ============================================================================= # Domain Configuration # ============================================================================= # Old domain (will redirect to new) gitea_old_domain: "stuslab.cc" # New domain for Gitea gitea_domain: "code.stuslab.cc" # SSH domain (for git clone URLs) gitea_ssh_domain: "code.stuslab.cc" # ============================================================================= # Let's Encrypt Configuration # ============================================================================= letsencrypt_email: "vlad.stus@gmail.com" # ============================================================================= # Paths # ============================================================================= # Existing Gitea installation path on VPS gitea_base_dir: "/root/gitea" # Data directory (contains repos, database, config) gitea_data_dir: "{{ gitea_base_dir }}/gitea_data" # Backup directory on VPS gitea_backup_dir: "/root/gitea-backups" # ============================================================================= # Authentik Configuration # ============================================================================= # Domain where Authentik is deployed authentik_domain: "auth.stuslab.cc" # OAuth provider name (must match exactly in Gitea UI) gitea_oauth_provider_name: "Authentik" # OAuth client ID (used in Authentik and Gitea) gitea_oauth_client_id: "gitea" # ============================================================================= # Docker Configuration # ============================================================================= gitea_image: "gitea/gitea:latest" gitea_http_port: 3000 gitea_ssh_port: 2222 # ============================================================================= # Migration Flags # ============================================================================= # Create backup before migration (recommended) gitea_create_backup: true # Upload backup to GDrive via rclone (requires rclone configured on VPS) gitea_backup_to_gdrive: false