summaryrefslogtreecommitdiff
path: root/compose.yml
blob: aca365fdd89a2a78ac6670b611dd9fb5ab274a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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