- NET_ADMIN
restart: always
- repos:
- container_name: repos
+ gitolite:
+ container_name: gitolite
image: jgiannuzzi/gitolite
env_file: ./git/env
volumes:
- - ./git/.gitolite.rc:/etc/gitolite/gitolite.rc:ro
- - ./git/:/var/lib/git/
- - ./git/.ssh/keys/:/etc/ssh/keys/
+ - ./git/gitolite.rc:/etc/gitolite/gitolite.rc:ro
+ - ./git/ssh/keys/:/etc/ssh/keys/
+ - ./git/repos/:/var/lib/git/repositories/
+ - ./git/projects.list:/var/lib/git/projects.list
ports:
- "22:22"
gitweb:
container_name: gitweb
- image: rockstorm/gitweb
+ image: moncheeta/gitweb
depends_on:
- - repos
+ - gitolite
volumes:
- - ./git/:/srv/git/:ro
+ - ./git/gitweb.conf:/etc/gitweb.conf:ro
+ - ./git/repos/:/srv/git/repositories/:ro
+ - ./git/projects.list:/srv/git/projects.list:ro
expose:
- "80"
networks:
--- /dev/null
+our $site_name = "prime8.dev >> repos";
+
+our $project_root = "/srv/git/repositories/";
+our $projects_list = "/srv/git/projects.list";
+
+$feature{"highlight"}{"default"} = [1];