mirror of
https://github.com/daylinmorgan/git-server.git
synced 2024-12-22 19:50:43 -06:00
Compare commits
No commits in common. "beb2e2083aa68782625c9026364634d44fcd9437" and "9bf6b15693838dfe2fec17dab5d3d272e0df0dff" have entirely different histories.
beb2e2083a
...
9bf6b15693
2 changed files with 5 additions and 24 deletions
27
README.md
27
README.md
|
@ -1,15 +1,5 @@
|
||||||
# Git Server
|
# 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`](https://gitea.io)
|
|
||||||
and the charm (pun intended) of [`soft serve`](https://github.com/charmbracelet/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
|
## Setup
|
||||||
|
|
||||||
To keep `soft-serve` version up to date
|
To keep `soft-serve` version up to date
|
||||||
|
@ -22,7 +12,7 @@ add the following lines to `sudo crontab`.
|
||||||
0 2 * * * make -C /home/daylin/git update-soft-serve
|
0 2 * * * make -C /home/daylin/git update-soft-serve
|
||||||
```
|
```
|
||||||
|
|
||||||
Notable changes to `app.ini` for `gitea`.
|
Notable changes to `app.ini`
|
||||||
|
|
||||||
```dosini
|
```dosini
|
||||||
APP_NAME = Daylin's Git Server
|
APP_NAME = Daylin's Git Server
|
||||||
|
@ -47,20 +37,11 @@ ENABLE_OPENID_SIGNIN = false
|
||||||
ENABLE_OPENID_SIGNUP = false
|
ENABLE_OPENID_SIGNUP = false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Where is this repo, actually?
|
## Where is this repo?
|
||||||
|
|
||||||
github < mirror > gitea < mirror > soft-serve
|
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.
|
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).
|
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`.
|
||||||
### [github](https://github.com/daylinmorgan/git-server)
|
|
||||||
|
|
||||||
### [git.dayl.in](https://git.dayl.in/daylin/git-server)
|
|
||||||
|
|
||||||
### soft-serve
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ssh -p 23231 git.dayl.in
|
|
||||||
```
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"dest": "./soft/data/repos"
|
"dest": "./soft/data/repos"
|
||||||
},
|
},
|
||||||
"repos": {
|
"repos": {
|
||||||
"src": ["dotfiles", "git-server", "monolisa-nerdfont-patch"],
|
"src": ["dotfiles", "git-server"],
|
||||||
"dest": ["config"]
|
"dest": ["config"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue