git server configuration
Find a file
2024-12-24 16:32:36 -06:00
forgejo/gitea/public/assets don't use cutoff image 2024-03-25 01:17:32 -05:00
soft setup.nim -> add-mirrors 2024-11-27 17:42:38 -06:00
.gitignore setup.nim -> add-mirrors 2024-11-27 17:42:38 -06:00
docker-compose.yml update docker compose to forgo caddy network 2024-11-27 17:42:47 -06:00
flake.lock update flake.nix setup 2024-02-26 11:20:15 -06:00
flake.nix update flake.nix setup 2024-02-26 11:20:15 -06:00
README.md update soft-serve setup info 2024-12-24 16:32:36 -06:00

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

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

All repos on the soft-serve instance are handled using it's mirror feature. A list of repos are maintained at soft/repos.txt and checked/added by running soft/add-mirrors.

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