image: crazymax/fail2ban:latest
container_name: fail2ban
volumes:
- - ./jail:/etc/fail2ban/jail.local
+ - ./jail:/etc/fail2ban/jail.local:ro
- /var/log/mail/mail.log:/var/log/mail/mail.log:ro
- /var/log/auth.log:/var/log/auth.log:ro
networks:
networks:
- www
volumes:
- - ./caddy:/etc/caddy/Caddyfile
+ - ./caddy:/etc/caddy/Caddyfile:ro
- ./web/data/:/data/caddy/
- ./web/config/:/config/caddy/
restart: always
- ./mail/state/:/var/mail-state/
- ./mail/logs/:/var/log/mail/
- ./mail/config/:/tmp/docker-mailserver/
- - ./web/data/certificates/acme.zerossl.com-v2-dv90/mail.prime8.dev/:/etc/certificates/
+ - ./web/data/certificates/acme.zerossl.com-v2-dv90/mail.prime8.dev/:/etc/certificates/:ro
depends_on:
- web
cap_add:
- repos
volumes:
- ./git/:/var/lib/git/:ro
+ - ./git/gitweb.conf:/etc/gitweb.conf:ro
expose:
- "80"
networks:
- DOMAIN=csc.prime8.dev
env_file: ./csc/env
volumes:
- - ./csc/auth.json:/app/google_auth.json
+ - ./csc/auth.json:/app/google_auth.json:ro
expose:
- "80"
networks:
--- /dev/null
+# The directories where your projects are. Must not end with a slash.
+our $projectroot = "/var/lib/git/repositories";
+
+# file with project list; by default, simply scan the projectroot dir.
+our $projects_list = "/var/lib/git/projects.list";
+
+# Base URLs for links displayed in the web interface.
+#our @git_base_url_list = qw(git://localhost http://git@localhost);
+#
+# To display owner
+our $feature{'owner'}{'default'} = [1];
+
+# To display repository description
+our $feature{'descr'}{'default'} = [1];
+
+# To enable "blame" view (showing the author of each line in a source file), add the following line
+$feature{'blame'}{'default'} = [1];
+
+# To enable syntax highlighting with Gitweb, you have to first install the highlight package
+$feature{'highlight'}{'default'} = [1];
+