40 lines
1.5 KiB
Bash
40 lines
1.5 KiB
Bash
COMPOSE_PROJECT_NAME=model-platform-develop
|
|
|
|
# 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=8890
|
|
|
|
# External MySQL. URL-encode reserved characters in DATABASE_URL.
|
|
MYSQL_HOST=127.0.0.1
|
|
MYSQL_PORT=3306
|
|
MYSQL_USER=root
|
|
MYSQL_PASSWORD=change-me
|
|
MYSQL_DATABASE=model_platform
|
|
DATABASE_URL=mysql+asyncmy://root:change-me@127.0.0.1:3306/model_platform?charset=utf8mb4
|
|
|
|
# Demo login is only intended for this self-hosted development UI.
|
|
DEMO_AUTH_ENABLED=true
|
|
JWT_SECRET=change-this-development-secret
|
|
|
|
# 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_HOST=127.0.0.1
|
|
RUSTFS_PORT=9000
|
|
RUSTFS_ENDPOINT=http://127.0.0.1:9000
|
|
RUSTFS_ACCESS_KEY=change-me
|
|
RUSTFS_SECRET_KEY=change-me
|
|
RUSTFS_WORKSPACE_BUCKET=workspaces
|
|
RUSTFS_VERSION_BUCKET=versions
|
|
RUSTFS_RUN_LOG_BUCKET=run-logs
|
|
|