commit e47552cfb2dc92fb873072c35fbbedf5914ae992 parent 053e8e9c5c0561fa8a4a6b0912cccd59748de293 Author: Damian Myrda <damian@prime8.dev> Date: Wed, 18 Sep 2024 07:04:00 -0500 Added gitweb Diffstat:
| M | caddy | | | 2 | +- |
| M | compose.yml | | | 36 | ++++++++++++++++++------------------ |
2 files changed, 19 insertions(+), 19 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=/ - 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