summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-08-12 22:26:41 -0400
committerMalfurious <m@lfurio.us>2023-08-12 22:26:41 -0400
commit5cd2822ed607d1f20d1d114aebe511a4fe5f1825 (patch)
tree913e1e67b78bac0db4e0e995c093659c45562f1f
parent19e7dc8932cf6cc8671b474ae258921480d9c608 (diff)
downloadsrcnode-5cd2822ed607d1f20d1d114aebe511a4fe5f1825.tar.gz
srcnode-5cd2822ed607d1f20d1d114aebe511a4fe5f1825.zip
Configure via docker-composev0.1.1
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--docker-compose.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..e4f95f7
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,34 @@
+version: "3.7"
+
+services:
+ gitolite:
+ build:
+ context: "./docker"
+ dockerfile: "Dockerfile.gitolite"
+ restart: "always"
+ volumes:
+ - "data:/var/lib/gitolite"
+ - "ssh:/hostkeys"
+ ports:
+ - "22:22"
+
+ cgit:
+ build:
+ context: "./docker"
+ dockerfile: "Dockerfile.cgit"
+ restart: "always"
+ volumes:
+ - "data:/data:ro"
+ networks:
+ - "nginx-proxy-network"
+ environment:
+ VIRTUAL_HOST: "normalmode.org"
+ LETSENCRYPT_HOST: "normalmode.org"
+
+volumes:
+ data:
+ ssh:
+
+networks:
+ nginx-proxy-network:
+ external: true