Docker images / prepare-release (push) Successful in 5s
Docker images / backend-image (push) Successful in 2m52s
Docker images / frontend-image (push) Successful in 2m23s
Docker images / notify-webhook (push) Skipped
Docker images / updater-image (push) Successful in 38s
Docker images / publish-release (push) Successful in 8s
JWT на backend, handoff/callback на UI, RBAC mm:*, AUTH_* в compose. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
422 B
Bash
16 lines
422 B
Bash
# Path to SQLite database file
|
|
DATABASE_PATH=./mikrotik.db
|
|
|
|
# Port for the Fastify server
|
|
PORT=8000
|
|
|
|
# Allowed CORS origin (Next.js frontend)
|
|
CORS_ORIGIN=http://localhost:3000
|
|
|
|
# Portal SSO (false = open API for local/dev)
|
|
AUTH_REQUIRED=false
|
|
# Same HS256 secret as auth-portal JWT_SECRET when AUTH_REQUIRED=true
|
|
AUTH_JWT_SECRET=dev-secret-change-me
|
|
AUTH_ISSUER=https://auth.shnt.top
|
|
AUTH_PORTAL_URL=http://localhost:5175
|