1sonhador
df016a1e34
fix(deploy): use repo deploy script + expose git_sha in health
...
Webhook now runs /opt/forwarder/deploy/deploy-pull.sh from git (not stale
image copy). Rolling rebuild api then web; health reports FORWARDER_GIT_SHA.
2026-07-01 01:40:43 +01:00
1sonhador
f6b276511a
fix(connection): fail-fast IMAP/SMTP tests; add Gitea webhook autodeploy
...
Connection tests use 5s timeouts and run IMAP/SMTP in parallel so the UI
gets a clear error instead of nginx 504. Add deploy-hook service (:9090) and
deploy-pull.sh for push-to-main deploys on CT 243.
2026-07-01 01:09:53 +01:00
Xika and Paperclip
b211d9d8df
fix(compose): use alembic migrate service; drop init.sql; use env vars for mysql creds
...
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:09:39 +00:00
Xika and Paperclip
fd1c1b1ba3
merge: reconcile docker-compose with origin/main (use admin-ui/Dockerfile for web)
...
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:07:23 +00:00
1sonhador
d1e4725ac3
Add Python API, worker, MySQL migrations and wire admin-ui in Docker.
...
Backend FastAPI + APScheduler worker with Alembic schema; admin-ui served
via nginx with /api proxy. Unifies Paperclip UI scaffold with local platform code.
2026-07-01 00:04:57 +01:00
Xika and Paperclip
d8daca15bd
feat(backend): add FastAPI, worker, web nginx — full platform (BIT-26121)
...
- api/: FastAPI app with MySQL (accounts, forwarding_rules, messages)
- GET/POST/PUT/DELETE /accounts + /accounts/{id}/test
- GET /messages + /messages/{id}/retry
- GET /stats
- POST /connection/test
- Auto-runs migrations/init.sql on startup
- worker/: Python IMAP poller + BizDocs upload (schedule every 5 min)
- web/: multi-stage Dockerfile — builds admin-ui via Node, serves via nginx
- nginx proxies /api/ → api:8000, SPA fallback for React Router
- docker-compose.yml: updated web build context + mysql init.sql mount
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:04:54 +00:00
spark
f2f706d500
feat: add docker-compose.yml with mysql/api/worker/web stack (BIT-26128)
2026-06-30 23:53:17 +01:00