docs: add Deployment section (Lightsail, systemd, deploy commands)
This commit is contained in:
@@ -70,6 +70,24 @@ tinqs-git/
|
||||
- `main` — tracks upstream releases (quarterly rebase)
|
||||
- `tinqs/main` — our fork with Tinqs customizations
|
||||
|
||||
## Deployment
|
||||
|
||||
Runs on the Lightsail server (`gitea-tinqs-v2`, IP `46.51.144.31`) as a systemd service on port :3000 behind `tinqs-proxy`.
|
||||
|
||||
```bash
|
||||
# Build
|
||||
TAGS="bindata sqlite sqlite_unlock_notify" make build
|
||||
|
||||
# Deploy to Lightsail
|
||||
ssh -i ~/.ssh/LightsailDefaultKey-eu-west-1.pem ubuntu@46.51.144.31
|
||||
sudo systemctl stop gitea
|
||||
scp tinqs-git ubuntu@46.51.144.31:/usr/local/bin/gitea
|
||||
sudo systemctl start gitea
|
||||
sudo systemctl status gitea
|
||||
```
|
||||
|
||||
DNS: `git.arikigame.com` → `46.51.144.31`. Full infra docs: `docs/ai/devops.md`.
|
||||
|
||||
## License
|
||||
|
||||
MIT — same as upstream Gitea.
|
||||
|
||||
Reference in New Issue
Block a user