blob: d9633838705f4335545abb8cdc121fca220ccec5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
version: "3"
services:
cgit:
image: woahbase/alpine-cgit:x86_64
networks:
- cgitnet
ports:
- "8041:80"
- "8042:22"
restart: unless-stopped
environment:
- PGID=1000
- PUID=1000
volumes:
# - ./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:
context: ./bootstrap
networks:
- bootstrapnet
volumes:
- storage:/etc/gitrepos/
entrypoint: ["/docker-entrypoint.sh"]
cap_drop:
- ALL
networks:
cgitnet:
bootstrapnet:
volumes:
storage:
|