diff options
| author | Lambda <lambda@disroot.org> | 2025-12-10 18:43:52 -0500 |
|---|---|---|
| committer | Lambda <lambda@disroot.org> | 2025-12-10 18:43:52 -0500 |
| commit | 0c7bf0252aa5b9a2c3a3d95ce84370a3d67cb62b (patch) | |
| tree | 08b9ff10c19e0c05e10ec7b819eacaa6da1655b9 /compose.yml | |
| parent | 0c79ff01fe7eb5abf369e4c14edf8eeadb692c3b (diff) | |
| download | cgit-docker-0c7bf0252aa5b9a2c3a3d95ce84370a3d67cb62b.tar.gz cgit-docker-0c7bf0252aa5b9a2c3a3d95ce84370a3d67cb62b.tar.bz2 cgit-docker-0c7bf0252aa5b9a2c3a3d95ce84370a3d67cb62b.zip | |
Added README and compose example.
Diffstat (limited to 'compose.yml')
| -rw-r--r-- | compose.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..aca365f --- /dev/null +++ b/compose.yml @@ -0,0 +1,17 @@ +# +# +# cgit-docker compose example + +name: 'cgit-docker' + +services: + cgit: + container_name: cgit-docker + image: ratdad/cgit-docker:latest + ports: + - 80:80 + volumes: + - ./etc/httpd/conf/httpd.conf:/etc/httpd/conf/httpd.conf # apply custom httpd config + - ./etc/cgitrc:/etc/cgitrc # apply custom cgit runtime config + - ./opt/highlight.sh:/opt/highlight.sh # use a custom highlight script + - ./srv/git/:/srv/git # mount the dir cgit reads for repositories |
