summaryrefslogtreecommitdiffhomepage
path: root/services/repos/compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'services/repos/compose.yaml')
-rw-r--r--services/repos/compose.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/services/repos/compose.yaml b/services/repos/compose.yaml
new file mode 100644
index 00000000..511a5dd4
--- /dev/null
+++ b/services/repos/compose.yaml
@@ -0,0 +1,13 @@
+services:
+ cgit:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ ports:
+ - "8002:80"
+ volumes:
+ - ./cgitrc:/etc/cgitrc:ro
+ - ./repos.cgitrc:/etc/repos.cgitrc:ro
+ - ./httpd-cgit.conf:/usr/local/apache2/conf/extra/httpd-cgit.conf:ro
+ - ./repos:/src:ro
+ restart: always