diff options
author | terminaldweller <thabogre@gmail.com> | 2022-11-04 05:03:18 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-11-04 05:03:18 +0000 |
commit | 24bd72d7b2bfacc3caa45509b25e0ed9990b901a (patch) | |
tree | 3226f52f1aa9fdc16e68752a77ecdf8231086dfe /terminaldweller.com/cgit/docker-compose.yaml | |
parent | cgit update (diff) | |
download | scripts-24bd72d7b2bfacc3caa45509b25e0ed9990b901a.tar.gz scripts-24bd72d7b2bfacc3caa45509b25e0ed9990b901a.zip |
update
Diffstat (limited to '')
-rw-r--r-- | terminaldweller.com/cgit/docker-compose.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/terminaldweller.com/cgit/docker-compose.yaml b/terminaldweller.com/cgit/docker-compose.yaml index d963383..a578b71 100644 --- a/terminaldweller.com/cgit/docker-compose.yaml +++ b/terminaldweller.com/cgit/docker-compose.yaml @@ -1,24 +1,28 @@ version: "3" services: cgit: - image: woahbase/alpine-cgit:x86_64 + image: cgit + build: + context: ./cgit/ networks: - cgitnet ports: - - "8041:80" + - "127.0.0.1:8041:80" - "8042:22" + - "8043:443" restart: unless-stopped environment: - PGID=1000 - PUID=1000 volumes: - # - ./cgit/cgitrc:/etc/cgitrc:ro + - ./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 + - ./cgit.conf:/etc/lighttpd/cgit.conf:ro + - /etc/letsencrypt/archive/git.terminaldweller.com/ssl.pem:/etc/certs/git.pem:ro bootstrap: image: bootstrap build: |