blob: 55484edd908374132ec04bcdacc217fec4f05baa (
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
|
version: "3"
services:
cgit:
image: cgit
build:
context: ./cgit/
networks:
- cgitnet
ports:
- "8040:8080"
restart: unless-stopped
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./cgitrc:/etc/cgitrc:ro
- storage:/etc/gitrepos/
bootstrap:
image: bootstrap
build:
context: ./bootstrap
networks:
- bootstrapnet
volumes:
- storage:/etc/gitrepos/
entrypoint: ["/docker-entrypoint.sh"]
cap_drop:
- ALL
networks:
cgitnet:
bootstrapnet:
volumes:
storage:
|