git server configuration
Go to file
Daylin Morgan ba41c48615
switch to official catppuccin css
2023-05-07 22:39:36 -05:00
caddy algiz updates 2023-05-04 13:39:24 -05:00
gitea/gitea/public switch to official catppuccin css 2023-05-07 22:39:36 -05:00
soft/config update port/repos 2023-05-03 13:01:57 -05:00
.gitignore move soft serve update to sub-directory 2022-08-15 06:01:37 +00:00
Makefile move soft serve update to sub-directory 2022-08-15 06:01:37 +00:00
README.md add note about users page 2022-09-07 09:27:43 -05:00
docker-compose.yml algiz updates 2023-05-04 13:39:24 -05:00
todo.md switch to official catppuccin css 2023-05-07 22:39:36 -05:00

README.md

Git Server

This configuration utilizes docker, gitea, caddy, and soft serve for my own self-hosted git instance.

Attracted by the feature set of gitea and the charm (pun intended) of soft serve, I was unable to choose how to host my own git instance, so I didn't.

Combining the best of both worlds, I manually update repos served by soft serve with a simple cron job to afford myself both a TUI and a browser.

Setup

To keep soft-serve version up to date add the following lines to sudo crontab.

# update repos
0 * * * * make -C /home/daylin/git soft-repos
# update container so home page is semi-accurate
0 2 * * * make -C /home/daylin/git update-soft-serve

Notable changes to app.ini for gitea.

APP_NAME = Daylin's Git Server
RUN_MODE = prod
RUN_USER = git

[server]
DOMAIN     = https://git.dayl.in
SSH_DOMAIN = git.dayl.in
ROOT_URL   = https://git.dayl.in/

[service]
DISABLE_REGISTRATION = true
NO_REPLY_ADDRESS     = noreply.git.dayl.in

[service.explore]
DISABLE_USERS_PAGE = true

[ui]
DEFAULT_THEME = arc-green
THEMES        = arc-green

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

Where is this repo, actually?

github < mirror > gitea < mirror > soft-serve

This repo is hosted on github but mirrored to my self-hosted gitea instance. Once there it will be "mirrored" to an instance of soft-serve.

github

git.dayl.in

soft-serve

ssh -p 23231 git.dayl.in