aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cgit/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-26 19:39:03 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-26 19:39:03 +0000
commit0f0e8c6a5123def82c8e3d26de4fabd3e30d67d8 (patch)
tree02dc48110514c1574b1377f636c34a15a1d12695 /terminaldweller.com/cgit/docker-compose.yaml
parentupdate (diff)
downloadscripts-0f0e8c6a5123def82c8e3d26de4fabd3e30d67d8.tar.gz
scripts-0f0e8c6a5123def82c8e3d26de4fabd3e30d67d8.zip
update
Diffstat (limited to 'terminaldweller.com/cgit/docker-compose.yaml')
-rw-r--r--terminaldweller.com/cgit/docker-compose.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/terminaldweller.com/cgit/docker-compose.yaml b/terminaldweller.com/cgit/docker-compose.yaml
index 3fe10ae..f1344f5 100644
--- a/terminaldweller.com/cgit/docker-compose.yaml
+++ b/terminaldweller.com/cgit/docker-compose.yaml
@@ -8,12 +8,13 @@ services:
- cgitnet
ports:
- "127.0.0.1:8041:80"
- - "127.0.0.1:8042:22"
+ - "8042:22"
- "8043:443"
restart: unless-stopped
environment:
- PGID=1000
- PUID=1000
+ - PYGMENTIZE_STYLE=paraiso-dark
volumes:
- ./cgit/cgitrc:/etc/cgitrc:ro
- storage:/home/git/repositories
@@ -23,6 +24,8 @@ services:
# - /etc/localtime:/etc/localtime:ro
- ./cgit.conf:/etc/lighttpd/cgit.conf:ro
- /etc/letsencrypt/archive/git.terminaldweller.com/:/etc/certs/:ro
+ - cache:/cgit_cache
+ - ./authorized_keys:/home/git/.ssh/authorized_keys
bootstrap:
image: bootstrap
build:
@@ -34,14 +37,15 @@ services:
entrypoint: ["/docker-entrypoint.sh"]
# cap_drop:
# - ALL
- healthcheck:
- test: exit 1
- interval: 1d
- timeout: 10s
- retries: 1
+ # healthcheck:
+ # test: exit 1
+ # interval: 1d
+ # timeout: 10s
+ # retries: 1
restart: unless-stopped
networks:
cgitnet:
bootstrapnet:
volumes:
storage:
+ cache: