-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 1.65 KB
/
Copy path.env.example
File metadata and controls
40 lines (31 loc) · 1.65 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
34
35
36
37
38
39
40
# Atlas cluster can host multiple databases. Recommended names:
# - kamra_prod
# - kamra_test
# - kamra_smoke
# - kamra_dev
MONGODB_URI=mongodb+srv://<USERNAME>:<PASSWORD>@kamrappcluster.lft3pkg.mongodb.net/?appName=KamrappCluster
MONGODB_DB_NAME=kamra_test
# Optional local DNS override for SRV lookups when a local resolver blocks Atlas SRV records.
MONGODB_DNS_SERVERS=1.1.1.1,8.8.8.8
# Required for signed browser-persisted user tokens used by login.
AUTH_TOKEN_SECRET=<GENERATED_AUTH_TOKEN_SECRET>
# Optional server-only credentials for the admin-controlled automatic-login feature.
# Both values and the allowAutomaticLogin feature flag are required. Never expose these through public config.
AUTO_LOGIN_USER_NAME=
AUTO_LOGIN_PASSWORD=
# Public frontend API origin. Leave empty for same-origin local or preview fallback.
# Render preview example: https://kamra-api-preview.onrender.com
API_BASE_URL=
# Browser-callable backend CORS origins. Use exact origins only, no paths.
CORS_ALLOWED_ORIGINS=http://localhost:4200
# Optional wildcard origin patterns for preview hosts, for example https://*.vercel.app
CORS_ALLOWED_ORIGIN_PATTERNS=
# Optional admin-user seed credentials. Store real values in .env.local or platform secrets.
# If omitted, npm run seed asks whether to run this seed and prompts for missing values.
SEED_ADMINUSER_USERNAME=admin@example.test
SEED_ADMINUSER_PASSWORD=<GENERATED_ADMIN_PASSWORD>
# Optional catalog v1 synthetic product data seed.
SEED_CATALOG_V1=1
# Optional demo household reset seed.
# If omitted, npm run seed asks whether to run this seed and prompts for the missing password.
SEED_DEMO_HOUSEHOLD_PASSWORD=<GENERATED_DEMO_HOUSEHOLD_PASSWORD>