Configuration
Configuration is managed by dynaconf and loaded from
settings.toml in the working directory.
settings.toml
pipelines_dir = "./pipelines" # root directory for pipeline definitions
host = "0.0.0.0" # API server bind address
port = 8080 # API server bind port
log_level = "INFO" # log verbosity: DEBUG, INFO, WARNING, ERROR
# temp_dir = "/tmp/rmf" # parent directory for pipeline workspaces; unset = OS default
Environment variable overrides
Any setting can be overridden with an environment variable prefixed REMANUFACTURE_:
| Setting | Environment variable |
|---|---|
pipelines_dir |
REMANUFACTURE_PIPELINES_DIR |
host |
REMANUFACTURE_HOST |
port |
REMANUFACTURE_PORT |
log_level |
REMANUFACTURE_LOG_LEVEL |
temp_dir |
REMANUFACTURE_TEMP_DIR |
api_key |
REMANUFACTURE_API_KEY |
Example:
API key
When API_KEY is set, the REST API requires the X-API-Key header on all endpoints except
/v1/health.
Add to settings.toml or .secrets.toml:
Or export as an environment variable:
.secrets.toml
Local overrides (passwords, API keys) can be placed in .secrets.toml at the project root.
This file is gitignored by convention and takes precedence over settings.toml.