diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-09-14 23:46:52 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-09-14 23:46:52 -0400 |
| commit | 487a97220ca58df241694085aa4118125992e0b6 (patch) | |
| tree | 173ce58c608f7107cf9c9e678e7152d3f4eae2b1 /docker-compose-example.yml | |
| parent | c1b6031a82cef9bfe34deee203ec4a3df573e3be (diff) | |
| download | alpine-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.yml | 15 |
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' |
