-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
58 lines (53 loc) · 2.5 KB
/
Copy path.env.example
File metadata and controls
58 lines (53 loc) · 2.5 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
58
# ============================================================
# MultiModalAI MLOps — Environment Configuration
# Copy this file to .env and fill in your values:
# cp .env.example .env
# ============================================================
# ------------------------------------------------------------
# NETWORK
# Name of the shared Docker bridge network.
# Must be created manually before starting the stack:
# docker network create rakuten_net
# ------------------------------------------------------------
DOCKER_NETWORK_NAME=rakuten_net
# ------------------------------------------------------------
# STORAGE — MinIO (S3-compatible object store)
# Used for: model artifacts, product images, DVC-versioned embeddings.
# These credentials are also used by Airflow and MLflow to access MinIO.
# ------------------------------------------------------------
MINIO_ROOT_USER=your_minio_user
MINIO_ROOT_PASSWORD=your_minio_password
# ------------------------------------------------------------
# TRACKING — MLflow
# PostgreSQL backend store for MLflow experiment tracking.
# MLFLOW_S3_ENDPOINT_URL: internal Docker hostname for MinIO.
# Do not change unless you rename the MinIO container.
# ------------------------------------------------------------
MLFLOW_DB_USER=your_mlflow_db_user
MLFLOW_DB_PASSWORD=your_mlflow_db_password
MLFLOW_DB_NAME=mlflow
MLFLOW_S3_ENDPOINT_URL=http://rakuten-minio:9000
# ------------------------------------------------------------
# ORCHESTRATION — Apache Airflow
# AIRFLOW_UID: UID of the host user running Docker (Linux only).
# Run: echo $UID to get your UID.
# On macOS: set to 50000 (Docker Desktop manages permissions).
# AIRFLOW_FERNET_KEY: used to encrypt connection passwords in the DB.
# Generate a new key with:
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
# ------------------------------------------------------------
AIRFLOW_UID=1000
AIRFLOW_DB_USER=your_airflow_db_user
AIRFLOW_DB_PASSWORD=your_airflow_db_password
AIRFLOW_DB_NAME=airflow
AIRFLOW_FERNET_KEY=your_fernet_key_here
AIRFLOW_ADMIN_USER=admin
AIRFLOW_ADMIN_PASSWORD=your_admin_password
AIRFLOW_ADMIN_EMAIL=admin@example.com
# ------------------------------------------------------------
# DATABASE — Rakuten PostgreSQL
# Main application database: products, predictions, Optuna HPO storage.
# ------------------------------------------------------------
RAKUTEN_DB_USER=your_rakuten_db_user
RAKUTEN_DB_PASSWORD=your_rakuten_db_password
RAKUTEN_DB_NAME=rakuten_db