27 lines
1.2 KiB
Bash
27 lines
1.2 KiB
Bash
COMPOSE_PROJECT_NAME=model-platform
|
|
|
|
# External port of the Nginx gateway. Only Nginx is exposed to the host
|
|
# (architecture §2.2); backend/runtime/schedule stay on the Docker internal
|
|
# network. Override here to expose Nginx on a different host port.
|
|
GATEWAY_PORT=8888
|
|
|
|
# MySQL connection URI (async SQLAlchemy driver)
|
|
DATABASE_URL=mysql+asyncmy://model_platform:ChangeMe_MySQL_App_2026@mysql:3306/model_platform?charset=utf8mb4
|
|
|
|
# Object storage (S3-compatible, RustFS).
|
|
# RUSTFS_ENDPOINT is the single upstream URL consumed by all 4 services:
|
|
# - nginx (via scripts/nginx-entrypoint.sh, which parses host + port)
|
|
# - backend / runtime / schedule (passed through to boto3 / rclone)
|
|
# RUSTFS_ACCESS_KEY / RUSTFS_SECRET_KEY are read by Python code in
|
|
# backend/ and schedule/ (boto3 credentials).
|
|
#
|
|
# RustFS buckets are purpose-named. Currently we have:
|
|
# RUSTFS_WORKSPACE_BUCKET — workspace files (notebooks, scripts, working
|
|
# copies); layout is ``s3://<bucket>/<workspace_id>/...``.
|
|
# Future: RUSTFS_VERSION_BUCKET, RUSTFS_RUN_LOG_BUCKET, ...
|
|
RUSTFS_ENDPOINT=http://rustfs:9000
|
|
RUSTFS_ACCESS_KEY=modelplatform
|
|
RUSTFS_SECRET_KEY=ChangeMe_RustFS_2026
|
|
RUSTFS_WORKSPACE_BUCKET=workspaces
|
|
|