diff --git a/README.md b/README.md index d3c924b..f202888 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# Server Config +# Git Server -## Important Setup Steps +## Setup To keep `soft-serve` version up to date add the following lines to `sudo crontab`. ``` # update repos -* */4 * * * /home/daylin/git/update-soft-serve-repos.py +* */4 * * * make -C /home/daylin/git soft-repos # update container so home page is semi-accurate -0 1 * * * docker compose --project-directory /home/daylin/git restart soft-serve +0 2 * * * make -C /home/daylin/git update-soft-serve ``` Notable changes to `app.ini` @@ -20,13 +20,13 @@ RUN_MODE = prod RUN_USER = git [server] -DOMAIN = https://git.dayl.in -SSH_DOMAIN = git.dayl.in -ROOT_URL = https://git.dayl.in/ +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 +DISABLE_REGISTRATION = true +NO_REPLY_ADDRESS = noreply.git.dayl.in [ui] DEFAULT_THEME = arc-green @@ -44,4 +44,4 @@ github < mirror > gitea < mirror > soft-serve This repo is hosted on github but mirrored to my self-hosted [`gitea`](https://gitea.io/en-us/) instance. Once there it will be mirrored to an instance of [`soft-serve`](https://github.com/charmbracelet/soft-serve). -Check it out with `ssh -p 23231 git.dayl.in`! +Check it out with `ssh -p 23231 git.dayl.in`.