Web project template for grace.futurio.us conveyor belt
- Shell 73.4%
- Dockerfile 26.6%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| deploy.sh | ||
| Dockerfile | ||
| README.md | ||
project-template — grace.futurio.us web project conveyor belt
One-time per project (on grace, as root)
new-site myapp.futurio.us --proxy 3xxx [--sso]
creates DNS A record (subreg API), nginx vhost (wildcard TLS), optional Authelia SSO gate, reloads nginx.
Then for CI deploys, add repo secret DEPLOY_SSH_KEY
(private key of deploy@grace.futurio.us — on the server at
/home/deploy/.ssh/id_ed25519) and copy .forgejo/workflows/deploy.yml
plus deploy.sh into your repo.
Host-side layout convention
/srv/apps/<repo>— git checkout owned by userdeploydeploy.shin the repo does whatever the app needs (git pull is done by the workflow; the script restarts/builds)deploycansudo systemctl restart|reload *,podman *,nginx -t
Workflow
push to main -> forgejo-runner -> checkout -> ssh deploy@grace -> /srv/apps//deploy.sh -> nginx serves it