3d646b4e68
Signed-off-by: Billy Brawner <billy@wbrawner.com>
903 B
903 B
cgit Dockerized
This is a simple dockerized version of cgit, which includes support for SSH and HTTP access. SSH access is restricted to key-based authentication only, and root logins aren't permitted.
Volumes
- /etc/cgit.d
- This directory should only contain a single file:
cgitrc
, which should contain any customization for the cgit instance according to the cgitrc spec.
- This directory should only contain a single file:
- /etc/ssh
- This directory should be owned by
root
, and is used to persist the host SSH keys, along with the SSH configuration changes.
- This directory should be owned by
- /git/.ssh
- This directory should have 700 permissions and any files within it should have 600 permissions. The idea is to use it for adding an
authorized_keys
file
- This directory should have 700 permissions and any files within it should have 600 permissions. The idea is to use it for adding an
- /pub/git
- This is where the git repositories will be stored. Please note that all folders and files here should be owned by the
git
user, UID 1000.
- This is where the git repositories will be stored. Please note that all folders and files here should be owned by the