From 756dc388bedf97b68449e919a6730788f730c7b8 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 16 Jul 2026 14:39:19 +0200 Subject: Refactor pve cgit to use generic proxy This is refactoring the PoC for deploying cgit on pve, to now move to a more standard deployment with dedicated agnonstic proxy role/container --- roles/cgit/defaults/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/cgit/defaults') diff --git a/roles/cgit/defaults/main.yml b/roles/cgit/defaults/main.yml index 5acf53fb..02168d34 100644 --- a/roles/cgit/defaults/main.yml +++ b/roles/cgit/defaults/main.yml @@ -1,8 +1,9 @@ --- cgit_hostname: "git.example.com" -cgit_port: 80 +cgit_port: 3000 cgit_repos_dir: "/srv/git" cgit_title: "git" cgit_description: "personal git repositories" -cgit_clone_prefix: "https://{{ cgit_hostname }}" +cgit_clone_prefix: "ssh://{{ cgit_ssh_user }}@{{ cgit_hostname }}" cgit_ssh_user: "git" +cgit_proxy_host: "proxy.home.arpa" -- cgit v1.2.3