feat: add backend CI/CD deployment
This commit is contained in:
parent
8d40cff227
commit
7c2e6ed571
21 changed files with 269 additions and 41 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# danable backend
|
||||
# danagble backend
|
||||
|
||||
Backend API for danable, a computer-vision data labeling platform
|
||||
Backend API for danagble, a computer-vision data labeling platform
|
||||
(classification, object detection, segmentation). Metadata lives in
|
||||
PostgreSQL; image bytes, datasets, models and exports live in Cloudflare R2
|
||||
(S3-compatible). A Redis-backed action-event pipeline records every user
|
||||
|
|
@ -30,7 +30,7 @@ curl -X POST localhost:8000/api/v1/admin/init-db
|
|||
|
||||
`init-db` creates all tables and seeds the dev admin:
|
||||
|
||||
- email: `admin@danable.local`
|
||||
- email: `admin@danagble.local`
|
||||
- password: `Admin123!`
|
||||
|
||||
Change or remove this account before any shared deployment. API docs (Swagger):
|
||||
|
|
@ -50,7 +50,7 @@ shape/thresholds from env.
|
|||
|
||||
| `.env` key | Purpose | Default |
|
||||
|---|---|---|
|
||||
| `DATABASE_URL` | Postgres DSN (asyncpg) | `postgresql+asyncpg://danable:danable@localhost:5432/danable` |
|
||||
| `DATABASE_URL` | Postgres DSN (asyncpg) | `postgresql+asyncpg://danagble:danagble@localhost:5432/danagble` |
|
||||
| `REDIS_URL` | Redis for the event queue | `redis://localhost:6379/0` |
|
||||
| `JWT_SECRET` | Signs access/refresh tokens | `change-me` (must override) |
|
||||
| `JWT_EXPIRE_MINUTES` | Access token lifetime | `720` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue