-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (40 loc) · 1.52 KB
/
Copy path.env.example
File metadata and controls
48 lines (40 loc) · 1.52 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
41
42
43
44
45
46
47
48
# Cloud Price Studio environment sample
# Copy to .env if you want a local reference file.
# Local runs auto-load .env from the project folder.
# Docker/container runs skip .env auto-load and use runtime env vars.
# Runtime
PORT=8080
NODE_ENV=development
# NODE_ENV=development: cookie secure=false (works on http://localhost)
# NODE_ENV=production: cookie secure=true (cookie only over HTTPS)
# TRUST_PROXY: set to 1 (or true) when running behind a reverse proxy
# such as Traefik/Ingress in Kubernetes.
# TRUST_PROXY=1
# Comma-separated list of allowed browser origins for API CORS checks.
# CORS_ORIGINS=https://cloudprice.192.168.250.240.nip.io,https://cloudstudioprice.jvvgroup.com
# Pricing cache warm-up
PRICING_CACHE_WARMUP=true
PRICING_CACHE_CONCURRENCY=4
PRICING_CACHE_REFRESH_INTERVAL_MS=1800000
# Auth + profile persistence (SQLite)
# Login UI is enabled only when AUTH_DATA_DIR or AUTH_DB_FILE is set.
AUTH_DATA_DIR=/tmp/cloud-price-data
AUTH_DB_FILE=/tmp/cloud-price-data/cloudprice.db
AUTH_USERS_FILE=/tmp/cloud-price-data/users.json
AUTH_STATE_DIR=/tmp/cloud-price-data/user-state
AUTH_SESSION_TTL_MS=604800000
AUTH_STATE_MAX_BYTES=2097152
# Seed users (choose one or both methods)
APP_AUTH_USERS=admin:ChangeMe123
# APP_LOGIN_USER=admin
# APP_LOGIN_PASSWORD=ChangeMe123
APP_ADMIN_USERS=admin
# AWS credentials (use profile OR access keys)
AWS_PROFILE=default
AWS_SDK_LOAD_CONFIG=1
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# GCP credentials (first non-empty key is used)
# GCP_PRICING_API_KEY=
# GCP_API_KEY=
# GOOGLE_API_KEY=