docs: add Deployment section (Lightsail, systemd, deploy commands)

This commit is contained in:
2026-05-20 09:20:21 +01:00
parent 0417c161b3
commit 9a53d1f4ed
+18
View File
@@ -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.