blob: cf212619823ef32ce583ead4e7f37b222a132a9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
name: ${_STACK}
networks:
net:
name: ${_NET}
external: true
services:
cgit:
container_name: ${_CONTAINER}
image: ratdad/cgit:latest
env_file:
- .cgit.env
- .env
networks:
- net
expose:
- 80
volumes:
# TODO: Make these cgit-docker builtins.
- ${_CSS_FILE:-./opt/cgit.css}:/srv/www/htdocs/cgit/cgit.css
- ${_CONFIG_FILE:-./etc/cgitrc}:/etc/cgitrc
- ${_IMPORTS:-./opt/}:/opt
- ${_GIT_ROOT:-./srv/git/}:/srv/git # mount the directory you use for your git server
|