git-server/README.md

48 lines
1 KiB
Markdown
Raw Normal View History

2022-08-15 01:16:50 -05:00
# Git Server
2022-08-14 15:16:12 -05:00
2022-08-15 01:16:50 -05:00
## Setup
2022-08-14 15:16:12 -05:00
To keep `soft-serve` version up to date
add the following lines to `sudo crontab`.
```
# update repos
2022-08-15 01:16:50 -05:00
* */4 * * * make -C /home/daylin/git soft-repos
# update container so home page is semi-accurate
2022-08-15 01:16:50 -05:00
0 2 * * * make -C /home/daylin/git update-soft-serve
```
Notable changes to `app.ini`
2022-08-14 15:16:12 -05:00
```dosini
APP_NAME = Daylin's Git Server
RUN_MODE = prod
RUN_USER = git
[server]
2022-08-15 01:16:50 -05:00
DOMAIN = https://git.dayl.in
SSH_DOMAIN = git.dayl.in
ROOT_URL = https://git.dayl.in/
2022-08-14 15:16:12 -05:00
[service]
2022-08-15 01:16:50 -05:00
DISABLE_REGISTRATION = true
NO_REPLY_ADDRESS = noreply.git.dayl.in
2022-08-14 15:16:12 -05:00
[ui]
DEFAULT_THEME = arc-green
THEMES = arc-green
2022-08-14 15:16:12 -05:00
[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
```
## Where is this repo?
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).
2022-08-15 01:16:50 -05:00
Check it out with `ssh -p 23231 git.dayl.in`.