Configuration
Settings come from environment variables with the prefix ONEOPEN_ (via pydantic-settings).
Core
Variable |
Default |
Description |
|---|---|---|
|
|
Root data directory |
|
|
Default bind host for |
|
|
Default bind port |
|
|
Debug flag |
|
|
Application display name |
Deployment & auth
Variable |
Default |
Description |
|---|---|---|
|
|
|
|
|
Force auth even in local (Team/Enterprise enforce via mode) |
|
|
Allow self-registration when auth is on |
|
dev default |
Change in Team/Enterprise |
|
|
Secure cookies (HTTPS); prefer on for enterprise |
|
|
Bootstrap admin email |
|
|
Bootstrap admin password — use a strong value |
|
|
Create admin from |
Team/Enterprise first-time setup: open /setup after starting with ONEOPEN_DEPLOYMENT_MODE=team (or enterprise).
Database, queue, storage
Variable |
Default |
Description |
|---|---|---|
|
empty → SQLite |
e.g. |
|
empty |
Redis for Celery; required for |
|
empty |
Auto when Redis set; or |
|
empty |
MinIO / S3 endpoint (empty → local FS) |
|
empty |
Object storage access key |
|
empty |
Object storage secret |
|
|
Bucket name |
|
|
Region |
|
|
HTTPS to object storage |
Plugins & enterprise stubs
Variable |
Default |
Description |
|---|---|---|
|
|
Auto |
|
|
Enterprise audit logging |
|
|
|
|
empty |
SSO issuer URL |
|
empty |
OIDC/SAML client id |
|
empty |
OIDC/SAML client secret |
Examples
Windows (PowerShell):
$env:ONEOPEN_DATA_DIR = "D:\oneopen-data"
$env:ONEOPEN_PORT = "9000"
oneopen start
Unix (Local):
export ONEOPEN_DATA_DIR=/data/oneopen
export ONEOPEN_PORT=9000
oneopen start
Team (Compose-style):
export ONEOPEN_DEPLOYMENT_MODE=team
export ONEOPEN_DATABASE_URL=postgresql+psycopg://oneopen:oneopen@localhost:5432/oneopen
export ONEOPEN_REDIS_URL=redis://localhost:6379/0
export ONEOPEN_SESSION_SECRET='replace-with-a-long-random-secret'
oneopen start --host 0.0.0.0
# then open http://localhost:8765/setup
CLI flags (--host, --port, init --data-dir) override the corresponding defaults for that process.
Derived paths
Given data_dir:
Path |
Purpose |
|---|---|
|
SQLite database (when |
|
Fallback upload area |
|
Export artifacts |
|
Weights, SAM checkpoints, runs |
|
Default project location |
|
Training job JSON state |
See Data layout for more detail.
Binding beyond localhost
Local: designed without mandatory auth. Prefer
127.0.0.1. Do not expose on untrusted networks.Team / Enterprise: use auth (
/setup), a strongONEOPEN_SESSION_SECRET, and HTTPS/ONEOPEN_COOKIE_SECUREwhen terminating TLS.