-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (49 loc) · 2.51 KB
/
.env.example
File metadata and controls
57 lines (49 loc) · 2.51 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
49
50
51
52
53
54
55
56
57
# ============================================================================
# ModelServe — Environment Variables
# ============================================================================
# TODO: Define all environment variables your system needs.
#
# Think about what each service requires:
# - MLflow: tracking URI, backend store URI, artifact root, AWS credentials
# - PostgreSQL: user, password, database name
# - Redis: host, port
# - FastAPI: host, port, model name, model stage
# - Feast: repo path, online store connection
# - Grafana: admin password, signup settings
#
# For each variable, provide:
# - A descriptive comment explaining its purpose
# - A placeholder value (not a real secret)
# - Which service consumes it
#
# NEVER commit the actual .env file to git.
# ============================================================================
# ── Postgres ───────────────────────────────────────────────
POSTGRES_USER=mlflow
POSTGRES_PASSWORD=mlflow
POSTGRES_DB=mlflow
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# ── MLflow ─────────────────────────────────────────────────
MLFLOW_TRACKING_URI=http://localhost:5000
MLFLOW_ARTIFACT_ROOT=/mlflow/artifacts
# ── FastAPI ────────────────────────────────────────────────
MODEL_NAME=FraudDetector
MODEL_STAGE=Production
APP_HOST=0.0.0.0
APP_PORT=8000
# ── Redis / Feast ───────────────────────────────────────────
REDIS_HOST=redis
REDIS_PORT=6379
FEAST_REPO_PATH=./feast_repo
# ── Grafana ────────────────────────────────────────────────
GF_SECURITY_ADMIN_PASSWORD=admin
GF_USERS_ALLOW_SIGN_UP=false
# ── AWS (Poridhi sandbox — expires end of session) ─────────
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=ap-southeast-1
# ── S3 (set after pulumi up in Session 5) ──────────────────
S3_BUCKET_NAME=FraudDetector
# ── Training ───────────────────────────────────────────────
DATA_PATH=training/fraudTrain.csv