aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yml
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-03 01:03:27 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-03 01:03:27 +0100
commite6359a9ceb5fba89ab0d152ce6ead2da7b8afa57 (patch)
tree0751a2a4b358f850dac8c83a4ee74a155c6c6e59 /compose.yml
parenta912704a1fdc06622466c9887051e1e0b2f5d42f (diff)
downloadcgit-oci-e6359a9ceb5fba89ab0d152ce6ead2da7b8afa57.tar.gz
cgit-oci-e6359a9ceb5fba89ab0d152ce6ead2da7b8afa57.tar.bz2
cgit-oci-e6359a9ceb5fba89ab0d152ce6ead2da7b8afa57.tar.lz
cgit-oci-e6359a9ceb5fba89ab0d152ce6ead2da7b8afa57.zip

feat: a sensible setup, for once

Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml
new file mode 100644
index 0000000..e3359f2
--- /dev/null
+++ b/compose.yml
@@ -0,0 +1,17 @@
+services:
+ cgit:
+ image: docker.io/memdmp/cgit:local-build
+ build:
+ dockerfile: ./Dockerfile
+ volumes:
+ - cgit_ssh:/etc/ssh:rw
+ - ./cgit/repos:/var/lib/git:rw
+ ports:
+ - 127.0.0.1:18080:80
+ - 127.0.0.1:12222:22
+ env_file:
+ - .env
+
+volumes:
+ cgit_ssh:
+ cgit_repos: