mirror of
https://github.com/Dasemu/Gitea-Claude-Webhook-Proxy.git
synced 2026-11-26 15:26:07 +00:00
Add root CLAUDE.md, LESSONS.md, docs/deployment.md, .claude/settings.json hooks (syntax-check on edit and on stop), and CI workflows (lint/test, version bump) per the repo bootstrap standard. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
# Deployment
|
|
|
|
## Current state
|
|
|
|
The repo ships a `Dockerfile` and a `docker run` example in the README,
|
|
meant to sit behind an existing nginx doing `proxy_pass` to
|
|
`http://127.0.0.1:3000/gitea-webhook`.
|
|
|
|
## Project deployment standard
|
|
|
|
This project's standard deployment target for a web service is an LXC
|
|
container or a VPS running Debian/Ubuntu, with the service managed by
|
|
systemd (not Docker) and updated through an idempotent script triggered by
|
|
an authenticated HTTP endpoint. As of this bootstrap, none of the following
|
|
exist yet in this repo:
|
|
|
|
- [ ] A systemd unit file for the service.
|
|
- [ ] An idempotent `scripts/update.sh` (pull, install deps, restart,
|
|
fail-safe, logged).
|
|
- [ ] An authenticated endpoint that triggers the update script (token-based
|
|
auth, async run, single-flight, rate-limited, status endpoint).
|
|
- [ ] The corresponding `UPDATE_TOKEN`-style variable in `.env.example`.
|
|
|
|
Setting these up is a separate task from this bootstrap; this file tracks
|
|
what's missing so it isn't lost.
|
|
|
|
## Environment variables
|
|
|
|
See `../.env.example` and the table in `../README.md`.
|