]> Untitled Git - gitweb.git/blob - docker-compose.yml
d3dee016067e5e79e9acae3ab13dcc0812f65335
[gitweb.git] / docker-compose.yml
1 # requires variable config loading, such as:
2 # docker stack deploy -c <(docker-compose config) proxy
3
4 version: '3'
5 services:
6     web:
7         build: web
8         image: cjpalmer/gitweb:0.2.0
9         volumes:
10         - /srv/git:/srv/git:ro
11         - ./gitweb.conf:/etc/gitweb.conf
12         ports:
13         - 80:80
14     cgi:
15         build: cgi
16         image: cjpalmer/gitweb-cgi:0.2.0
17         environment:
18         - BASE_URL=
19         volumes:
20         - /srv/git:/srv/git:ro
21         - ./gitweb.conf:/etc/gitweb.conf