commit aec8da2346dbfefb57be9602f3a3ad7b208407cf parent 47637c244cfc85e67fa48cd0ccc63444d5b841a1 Author: Damian Myrda <damian@prime8.dev> Date: Wed, 18 Sep 2024 07:04:00 -0500 feat(git): add gitweb Diffstat:
| M | caddy | | | 2 | +- |
| M | compose.yml | | | 30 | +++++++++++++++--------------- |
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git 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 @@ -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=/ + repos: + container_name: repos + image: jgiannuzzi/gitolite ports: - - "22" + - "22:22" + volumes: + - ./git/repos/:/var/lib/git/ + + gitweb: + container_name: gitweb + image: mlan/gitweb + depends_on: + - repos + volumes: + - ./git/repos/:/var/lib/git/:ro expose: - "80" - volumes: - - ./git/cgitrc:/etc/cgitrc - - /etc/ssh:/ssh/ - - ./git/repos/:/home/git/repositories/ - networks: - - common - restart: always csc: container_name: csc