diff options
author | terminaldweller <thabogre@gmail.com> | 2022-11-03 11:56:26 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-11-03 11:56:26 +0000 |
commit | 1a0e6c58c622a04a3550045f09989018d8290c3b (patch) | |
tree | d8c083ecf3feaa42a2778e2fa9a4dc9ee070c80d /terminaldweller.com/cgit/docker-compose.yaml | |
parent | update (diff) | |
download | scripts-1a0e6c58c622a04a3550045f09989018d8290c3b.tar.gz scripts-1a0e6c58c622a04a3550045f09989018d8290c3b.zip |
cgit update
Diffstat (limited to 'terminaldweller.com/cgit/docker-compose.yaml')
-rw-r--r-- | terminaldweller.com/cgit/docker-compose.yaml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/terminaldweller.com/cgit/docker-compose.yaml b/terminaldweller.com/cgit/docker-compose.yaml index 55484ed..d963383 100644 --- a/terminaldweller.com/cgit/docker-compose.yaml +++ b/terminaldweller.com/cgit/docker-compose.yaml @@ -1,18 +1,24 @@ version: "3" services: cgit: - image: cgit - build: - context: ./cgit/ + image: woahbase/alpine-cgit:x86_64 networks: - cgitnet ports: - - "8040:8080" + - "8041:80" + - "8042:22" restart: unless-stopped + environment: + - PGID=1000 + - PUID=1000 volumes: - - ./nginx.conf:/etc/nginx/nginx.conf:ro - - ./cgitrc:/etc/cgitrc:ro - - storage:/etc/gitrepos/ + # - ./cgit/cgitrc:/etc/cgitrc:ro + - storage:/home/git/repositories + - ./data/ssh:/etc/ssh + # - ./data/web:/var/www + # - /etc/hosts:/etc/hosts:ro + # - /etc/localtime:/etc/localtime:ro + # - ./cgit.conf:/etc/lighttpd/conf.d/cgit.conf bootstrap: image: bootstrap build: |