aboutsummaryrefslogtreecommitdiff
path: root/docker-compose-example.yml
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-09-14 23:46:52 -0400
committerMitch Riedstra <mitch@riedstra.us>2020-09-14 23:46:52 -0400
commit487a97220ca58df241694085aa4118125992e0b6 (patch)
tree173ce58c608f7107cf9c9e678e7152d3f4eae2b1 /docker-compose-example.yml
parentc1b6031a82cef9bfe34deee203ec4a3df573e3be (diff)
downloadalpine-cgit-487a97220ca58df241694085aa4118125992e0b6.tar.gz
alpine-cgit-487a97220ca58df241694085aa4118125992e0b6.tar.xz
Adjust the readme and explicitly make the docker-compose file an example
Diffstat (limited to 'docker-compose-example.yml')
-rw-r--r--docker-compose-example.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/docker-compose-example.yml b/docker-compose-example.yml
new file mode 100644
index 0000000..5ea6959
--- /dev/null
+++ b/docker-compose-example.yml
@@ -0,0 +1,15 @@
+version: '3'
+services:
+ cgit:
+ build:
+ context: .
+ image: cgit
+ volumes:
+ - ./homedir:/var/git
+ - ./hostkeys:/var/hostkeys
+ environment:
+ - CGIT_UID=1000
+ - CGIT_GID=1000
+ ports:
+ - '127.0.0.1:8080:8080'
+ - '0.0.0.0:8022:8022'