Skip to content

Commit 5736871

Browse files
authored
Merge pull request #4 from On-Behalf-AI/sync/upstream-2026-05-08
sync: merge usnavy13/main (33 commits, incl. AUTH_ENABLED for LibreChat dev compat)
2 parents 6470906 + f1be893 commit 5736871

90 files changed

Lines changed: 5596 additions & 3387 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,42 @@
66
API_KEY=your-secure-api-key-here-change-this-in-production
77
# API_KEYS=key1,key2,key3 # Additional API keys (comma-separated)
88
# MASTER_API_KEY=your-secure-master-key # Required for admin dashboard CLI
9+
#
10+
# AUTH_ENABLED=true # Set to false to disable x-api-key/Basic auth checks
11+
# # on user endpoints. Use only when running behind a
12+
# # trusted network boundary. /api/v1/admin/* still
13+
# # requires MASTER_API_KEY regardless.
14+
#
15+
# Three ways clients can authenticate when AUTH_ENABLED=true:
16+
# 1. x-api-key: <key> (recommended for proxies)
17+
# 2. Authorization: Basic base64("<key>:") (LibreChat URL credentials)
18+
# e.g. LIBRECHAT_CODE_BASEURL=https://<key>@your-api/v1
19+
# 3. (none, when AUTH_ENABLED=false)
20+
21+
# ── Sandbox network access (skill installs) ───────────────────
22+
# When ENABLE_SANDBOX_NETWORK=true, sandboxes can reach the internet but only
23+
# through an inline allowlist proxy that permits PyPI, npm, Go modules, and
24+
# crates.io. Required for skills that pip/npm/go install dependencies at
25+
# runtime. Off by default (sandboxes are isolated).
26+
#
27+
# ENABLE_SANDBOX_NETWORK=false
28+
# SANDBOX_EGRESS_PORT=18443 # local-only, sandbox -> proxy
29+
# SANDBOX_EGRESS_ALLOWLIST= # comma-separated extra hosts
30+
# SKILL_DEPS_PATH=/opt/skill-deps # backing volume mount
931

1032
# ── Redis ───────────────────────────────────────────────────────
1133
REDIS_HOST=localhost
1234
REDIS_PORT=6379
1335
# REDIS_PASSWORD=
1436
# REDIS_URL=redis://localhost:6379/0 # Alternative to individual settings
1537

16-
# ── MinIO / S3 ─────────────────────────────────────────────────
17-
MINIO_ENDPOINT=localhost:9000
18-
MINIO_ACCESS_KEY=minioadmin
19-
MINIO_SECRET_KEY=minioadmin
20-
# MINIO_SECURE=false
21-
# MINIO_BUCKET=code-interpreter-files
38+
# ── S3 Storage (Garage) ────────────────────────────────────────
39+
S3_ENDPOINT=localhost:3900
40+
S3_ACCESS_KEY=GKminioadmin0000
41+
S3_SECRET_KEY=minioadminsecret
42+
# S3_SECURE=false
43+
# S3_BUCKET=code-interpreter-files
44+
# S3_REGION=garage
2245

2346
# ── Execution Limits ───────────────────────────────────────────
2447
# MAX_EXECUTION_TIME=30 # Seconds (default: 30)
@@ -35,7 +58,7 @@ MINIO_SECRET_KEY=minioadmin
3558
# PORT=8000 # External host port published by docker compose
3659

3760
# ── SSL/HTTPS ──────────────────────────────────────────────────
38-
# HTTPS works the same with docker-compose.yml and docker-compose.prod.yml:
61+
# HTTPS configuration:
3962
# 1. SSL_CERTS_PATH is a host path mounted to /app/ssl inside the container
4063
# 2. SSL_CERT_FILE and SSL_KEY_FILE must be container paths under /app/ssl
4164
#

0 commit comments

Comments
 (0)