aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..59b4a6e
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,16 @@
+version: '3'
+
+services:
+ app:
+ image: rusian/gitolite-cgit
+ container_name: gitolite-cgit
+ env_file: config.env
+ volumes:
+ - git:/var/lib/git/
+ ports:
+ - "22:22"
+ - "80:80"
+ - "9418:9418"
+ tty: true
+volumes:
+ git: