This commit is contained in:
olehhapuk
2026-12-01 12:12:13 +02:00
parent 6698ce32c7
commit ebf6ec2e39
67 changed files with 7317 additions and 1261 deletions
+12
View File
@@ -0,0 +1,12 @@
# Copy to .env and fill in. The web app (apps/web) runs on 3000, so the API uses 3001.
PORT=3001
# Matches docker-compose.local.yml in the repo root.
DATABASE_URL=postgres://postgres:postgres@localhost:5432/electro4ort
# Generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=
# Public URL of this API.
BETTER_AUTH_URL=http://localhost:3001
# Comma-separated origins allowed to call the auth endpoints (CORS + CSRF check).
TRUSTED_ORIGINS=http://localhost:3000