From 487a97220ca58df241694085aa4118125992e0b6 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 14 Sep 2020 23:46:52 -0400 Subject: Adjust the readme and explicitly make the docker-compose file an example --- docker-compose-example.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docker-compose-example.yml (limited to 'docker-compose-example.yml') 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' -- cgit v1.2.3