docs: Add Forgejo Git configuration instructions
- Correct SSH URL format: forgejo@git.geokkjer.eu:1337 - Document SSH port forwarding setup (1337 -> grey-area:22) - Add remote configuration examples - Clarify primary vs backup repository roles
This commit is contained in:
parent
c8bee48ee3
commit
7aafd4cdd8
1 changed files with 13 additions and 0 deletions
|
@ -89,6 +89,19 @@ Home-lab/
|
||||||
- **Status monitoring**: Use `lab status` to get overview of all lab machines
|
- **Status monitoring**: Use `lab status` to get overview of all lab machines
|
||||||
- **Document Context7 findings** in commit messages
|
- **Document Context7 findings** in commit messages
|
||||||
|
|
||||||
|
### Git/Forgejo Configuration
|
||||||
|
- **Primary repository**: Hosted on self-hosted Forgejo instance
|
||||||
|
- **Forgejo URL**: `ssh://forgejo@git.geokkjer.eu:1337/geir/Home-lab.git`
|
||||||
|
- **SSH port**: 1337 (proxied through reverse-proxy to grey-area:22)
|
||||||
|
- **User**: Must use `forgejo` user, not `git` user
|
||||||
|
- **GitHub mirror**: `git@github.com:geokkjer/Home-lab.git` (secondary/backup)
|
||||||
|
- **Remote configuration**:
|
||||||
|
```bash
|
||||||
|
git remote add origin ssh://forgejo@git.geokkjer.eu:1337/geir/Home-lab.git
|
||||||
|
git remote add github git@github.com:geokkjer/Home-lab.git
|
||||||
|
```
|
||||||
|
- **Pushing**: Primary pushes to Forgejo origin, manual sync to GitHub as needed
|
||||||
|
|
||||||
## Key Constraints
|
## Key Constraints
|
||||||
- **No Home Manager**: Use org-mode literate dotfiles instead
|
- **No Home Manager**: Use org-mode literate dotfiles instead
|
||||||
- **ZFS preservation**: Never change hostId or break ZFS mounts
|
- **ZFS preservation**: Never change hostId or break ZFS mounts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue