summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-18 22:17:20 +0200
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-18 22:17:20 +0200
commit17939d44d6aa45a0dd50c98031c12798baf7cd85 (patch)
tree361360208189c6e8b6a477e9be08dd6e982db35d /docker-compose.yml
parentaa41ae926beba85ad2cb06e10b5f4f270309b9c4 (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