blob: 9980fd1263e62732cbd4f73c93bfa9f44797d60f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
services:
cgit:
image: docker.io/memdmp/cgit:local-build
build:
context: .
dockerfile: ./Containerfile
volumes:
- cgit_ssh:/etc/ssh:rw
- ./cgit/repos:/var/lib/git:rw
- ./cgit/zshhist:/root/.zsh_history:rw
# Copy these directories from the container first, then uncomment to modify things:
# - ./cgit/caddy:/etc/caddy:ro
# - ./cgit/html-converters:/usr/lib/cgit/filters/html-converters:ro
# - ./cgit/extra-filters:/usr/lib/cgit/filters/extra:ro # consider specifying each file rather than the whole dir!!
ports:
- 127.0.0.1:18080:80
- 127.0.0.1:12222:22
env_file:
- .env
volumes:
cgit_ssh:
|