summaryrefslogtreecommitdiffstats
path: root/docker (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-08-16cgit: Fix ssh clone urlMalfurious1-1/+1
Although user@server:path would be the preferred URL form, cgit interprets this as an HTTP link, relative to the repository base URL. That is, even though the desired text appears on screen, the text's link is broken. Someone copying the link, as opposed to copying the text, to use with an actual clone (or git-remote add) will have a bad time. Using a full URL with the ssh:// protocol scheme solves this problem. '.git' is omitted from the end of the path for consistency with the HTTP url (it's use is optional for ssh protocol). Signed-off-by: Malfurious <m@lfurio.us>
2022-08-16gitolite: Override default sshd_configMalfurious2-2/+26
Provide a config file for the back-end SSH daemon. Primarily, this explicitly disables root login, password auth, and additional unnecessary frills. Additionally, the sftp subsystem is omitted. Now that this file is added, hostkey files (and the external volume containing them) are moved to a new dedicated location (/hostkeys/...). This allows us to bake sshd_config into the built gitolite image, instead of it also living in the external volume. This makes it easier for future changes to be incorporated by simply updating the image. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-13Add port expose directives to DockerfilesMalfurious2-0/+2
This is useful as documentation to the user, but can be necessary to work with some docker-compose setups. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-07cgit: Configure cgit for normalmode useMalfurious1-6/+20
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-07Add cgit docker imageMalfurious3-0/+73
Apache webserver (httpd) is setup minimally to host cgit on a website (sub)domain root. cgitrc config file is based on that from my previous installation, in my personal website. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-06Fix datastore permissionsMalfurious1-0/+2
For compatibility with the front-end docker image, ensure git repositories (and their parent directories) have mode 0755, aka: go+rx. Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Add gitolite gitconfig fileMalfurious1-0/+1
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Add default gitolite RC fileMalfurious1-1/+1
Signed-off-by: Malfurious <m@lfurio.us>
2022-08-02Add Dockerfile for gitolite/ssh serviceMalfurious2-0/+26
Signed-off-by: Malfurious <m@lfurio.us>