From: Damian Myrda Date: Wed, 18 Sep 2024 12:04:00 +0000 (-0500) Subject: Added gitweb X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=a27baac53e94801d0d96c3668d6f6ea8449d55d9;p=p8d.git Added gitweb --- diff --git a/caddy b/caddy index d089997..37549ba 100644 --- a/caddy +++ b/caddy @@ -24,7 +24,7 @@ mail.prime8.dev { } git.prime8.dev { - reverse_proxy http://git:80 + reverse_proxy http://gitweb:80 cache tls damian@prime8.dev diff --git a/compose.yml b/compose.yml index 4be0ce0..4acb1c6 100644 --- a/compose.yml +++ b/compose.yml @@ -4,7 +4,7 @@ services: container_name: fail2ban volumes: - ./jail:/etc/fail2ban/jail.local - - /var/log/mail/:/var/log/mail/:ro + - /var/log/mail/mail.log:/var/log/mail/mail.log:ro - /var/log/auth.log:/var/log/auth.log:ro networks: - common @@ -61,23 +61,23 @@ services: - NET_ADMIN restart: always - git: - container_name: git - image: woahbase/alpine-cgit:latest - environment: - - CGIT_HOSTNAME=git.prime8.dev - - CGIT_SUBPATH=/ - ports: - - "22" - expose: - - "80" - volumes: - - ./git/cgitrc:/etc/cgitrc - - /etc/ssh:/ssh/ - - ./git/repos/:/home/git/repositories/ - networks: - - common - restart: always + repos: + container_name: repos + image: jgiannuzzi/gitolite + ports: + - "22:22" + volumes: + - ./git/repos/:/var/lib/git/ + + gitweb: + container_name: gitweb + image: mlan/gitweb + depends_on: + - repo + volumes: + - ./git/repos/:/var/lib/git/:ro + expose: + - "80" csc: container_name: csc