1.6 KiB
1.6 KiB
C0PY — Deployment
SIAX Cloud Deploy
- Config:
siax.config.json - CI/CD:
.gitea/workflows/ci.yml— körs vid push/PR till main (Gitea Actions, git.siax.io) - Runtime: Node 22, port 3000
- Domain:
c0py.siax.io
Deploy via Coolify
- Coolify dashboard:
cloud.siax.io - Resource type: Application (git source)
- Git URL:
git@github.com:sax3l/c0py.git - Build pack: Dockerfile
- Domain:
c0py.siax.io
Docker
docker build -t siax/c0py .
docker run -d -p 3000:3000 \
-e PORT=3000 \
-e NODE_ENV=production \
-e DATABASE_URL=postgresql://... \
-e CL0UD_BASE_URL=https://cl0ud.siax.io \
-e ZITADEL_ISSUER=https://id-customers.siax.io \
-e ZITADEL_AUDIENCE=api.c0py.siax.io \
-e AUD0_BASE_URL=https://aud0.siax.io \
-e AUD0_API_KEY=... \
-e ST0RE_BASE_URL=https://st0re.siax.io \
siax/c0py
Miljövariabler
| Variable | Krävs | Default | Beskrivning |
|---|---|---|---|
PORT |
Nej | 3000 |
HTTP-serverport |
NODE_ENV |
Nej | development |
Läge |
CL0UD_BASE_URL |
Ja | — | CL0UD kontrollplan URL |
ZITADEL_ISSUER |
Ja | — | OIDC-utfärdare |
ZITADEL_AUDIENCE |
Ja | — | API-audience |
DATABASE_URL |
Ja | — | Postgres-anslutning |
AUD0_BASE_URL |
Nej | — | AUD0 evidens-URL |
AUD0_API_KEY |
Nej | — | AUD0 autentisering |
ST0RE_BASE_URL |
Nej | — | ST0RE lagrings-URL |
INF0_BASE_URL |
Nej | — | INF0 AI-URL |
N0D_BASE_URL |
Nej | — | N0D beräknings-URL |
Hälsocheck
GET /health
Förväntad respons: 200 OK