refactor: remove local fs, add config class to common pacakge
This commit is contained in:
+2
-5
@@ -76,15 +76,12 @@ services:
|
||||
dockerfile: schedule/Dockerfile
|
||||
restart: unless-stopped
|
||||
# No host port: architecture §2.2 — only Nginx is externally reachable.
|
||||
# No local-FS volume: schedule executes nodes via tempfile.TemporaryDirectory
|
||||
# under Python's default temp dir (cleaned per-run); artifacts live in RustFS.
|
||||
environment:
|
||||
DATABASE_URL: mysql+asyncmy://${MYSQL_USER:-model_platform}:${MYSQL_PASSWORD:-model_platform}@mysql:3306/${MYSQL_DATABASE:-model_platform}?charset=utf8mb4
|
||||
# schedule reads RUSTFS_ENDPOINT via schedule/service.py:build_object_store()
|
||||
# (used by SchedulerService directly via boto3 — not via the storage client).
|
||||
RUSTFS_ENDPOINT: ${RUSTFS_ENDPOINT:-http://rustfs:9000}
|
||||
RUSTFS_ACCESS_KEY: ${RUSTFS_ACCESS_KEY:-modelplatform}
|
||||
RUSTFS_SECRET_KEY: ${RUSTFS_SECRET_KEY:-modelplatformsecret}
|
||||
WORKSPACE_ROOT: /workspace/workspaces
|
||||
volumes:
|
||||
- ./deploy/data/workspaces:/workspace/workspaces
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
Reference in New Issue
Block a user