]> purplebirdman git - gitweb.git/blob - docker-compose.yml
* Added docker tag variable
[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:${DOCKER_TAG}
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:${DOCKER_TAG}
17         environment:
18         - BASE_URL=
19         volumes:
20         - /srv/git:/srv/git:ro
21         - ./gitweb.conf:/etc/gitweb.conf