-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (29 loc) · 1.92 KB
/
Copy path.env.example
File metadata and controls
33 lines (29 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Skilluv Admin — environment variables
# Copy to `.env` (gitignored) and adjust for your setup.
# ─── SSR + dev proxy ─────────────────────────────────────────────────
# Internal URL of the Skilluv backend used server-side by hooks.server.ts
# for the /auth/me call. Always ends in /api.
# Deployed backend (default recommendation):
API_URL=https://api.skill-uv.com/api
# Local Rust backend (docker stack + cargo run):
# API_URL=http://localhost:3001/api
# Where the vite dev server proxies /api/*. Must be the same host as
# API_URL minus the /api suffix.
VITE_API_PROXY_TARGET=https://api.skill-uv.com
# VITE_API_PROXY_TARGET=http://localhost:3001
# ─── Analytics validation (P26 v2, SKI-100 section 5) ────────────────
# Dashboard Grafana qui trace les compteurs Prometheus du workflow
# challenge (ingestion, refresh externe, webhook CI, bonus merge). La page
# /validation-analytics affiche un lien vers cette URL quand elle est
# renseignée, et un rappel de configuration sinon.
# PUBLIC_GRAFANA_URL=https://grafana.skill-uv.com/d/skilluv-challenges
# ─── Playwright E2E ──────────────────────────────────────────────────
# When set, e2e/setup/bootstrap-admin.mjs and the admin-project specs
# talk to this backend + Postgres directly. Leave empty to run only the
# `public` Playwright project (no backend needed).
BACKEND_URL=https://api.skill-uv.com
# DATABASE_URL is required by the `admin` project: bootstrap-admin.mjs
# grants the admin role in SQL, and 14 of 17 admin specs seed fixtures via
# e2e/setup/db.ts. Point it at the Postgres backing whichever BACKEND_URL
# you chose — the local docker stack exposes it on 5433.
# DATABASE_URL=postgres://skilluv:CHANGE_ME@localhost:5433/skilluv