diff options
author | Astound <kirito@disroot.org> | 2024-08-04 11:16:58 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2024-08-04 11:16:58 +0800 |
commit | d7182dda3264f74107e75c360d033d02abf0d1fb (patch) | |
tree | 981d557a2a41d1f86e3043c31171436e449f1d47 | |
parent | 497e2c851ec741d7b910cc3eefd23a28fa5210ec (diff) | |
download | gitolite-cgit-docker-d7182dda3264f74107e75c360d033d02abf0d1fb.tar.lz gitolite-cgit-docker-d7182dda3264f74107e75c360d033d02abf0d1fb.tar.xz gitolite-cgit-docker-d7182dda3264f74107e75c360d033d02abf0d1fb.zip |
README.md: update
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -17,7 +17,7 @@ $ docker pull rusian/gitolite-cgit 2. Run the image with provided environment: ```console -$ docker run -e SSH_KEY="$(cat ~/.ssh/id_ed25519.pub)" -e SSH_KEY_NAME="$(whoami)" -p 22:22 -p 80:80 -p 9418:9418 -v repo:/var/lib/git/ rusian/gitolite-cgit +$ docker run -e SSH_KEY="$(cat ~/.ssh/id_ed25519.pub)" -e SSH_KEY_NAME="$(whoami)" -p 22:22 -p 80:80 -p 9418:9418 -v repo:/var/lib/git/repositories rusian/gitolite-cgit ``` ### Environment @@ -37,7 +37,7 @@ $ docker run -e SSH_KEY="$(cat ~/.ssh/id_ed25519.pub)" -e SSH_KEY_NAME="$(whoami ### Volume -- `/var/lib/git`: gitolite home folder, store all repositories like `gitolite-admin` +- `/var/lib/git/repositories`: gitolite home folder, store all repositories like `gitolite-admin` - `/etc/ssh/`: store all generated SSH server key ### How to interact with git server @@ -125,7 +125,7 @@ services: env_file: config.env volumes: - git:/etc/ssh - - git:/var/lib/git/ + - git:/var/lib/git/repositories ports: - 22:22 - 80:80 @@ -161,7 +161,7 @@ services: env_file: config.env volumes: - git:/etc/ssh - - git:/var/lib/git/ + - git:/var/lib/git/repositories - ./cgitrc:/etc/cgitrc ports: - 22:22 |