summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-18 22:17:20 +0200
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-18 22:17:20 +0200
commit6176198bdc78d3079a2abbfbcf59767e620eeb11 (patch)
tree361360208189c6e8b6a477e9be08dd6e982db35d /docker-compose.yml
parent6594f1afca1f9e2b12f424493fe7b66cedf9ca96 (diff)
ssh daemon starting up and user and repos are getting initialized. Missing login because users are locked
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..fa8f5d7
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,17 @@
+# for local testing deployments
+services:
+ git-server:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ ports:
+ - "2222:22"
+ restart: no
+ command:
+ - "--users"
+ - test
+ - "--repos"
+ - pass:test
+ volumes:
+ - ./keys:/var/keys
+ - ./repos:/srv/repos