-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (56 loc) · 2.38 KB
/
.env.example
File metadata and controls
70 lines (56 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# =============================================================================
# mdplane Monorepo Environment Variables
# Copy this file to .env in the repository root for local development.
# =============================================================================
# -----------------------------------------------------------------------------
# Server (@mdplane/server)
# -----------------------------------------------------------------------------
NODE_ENV=development
PORT=3001
HOST=0.0.0.0
DATABASE_URL=./data/mdplane.sqlite
# Public origins returned in API responses.
BASE_URL=http://127.0.0.1:3001
APP_URL=http://127.0.0.1:3000
# Better Auth API origin (must point to the server host).
BETTER_AUTH_URL=http://127.0.0.1:3001
# Required in production:
# - BETTER_AUTH_SECRET: Better Auth signing secret.
# - MP_JWT_SECRET: base64-encoded 32-byte secret for WebSocket token signing.
# BETTER_AUTH_SECRET=
# MP_JWT_SECRET=
# Optional OAuth providers (required only if OAuth login is enabled).
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=
# Optional operator and runtime controls.
# ADMIN_SECRET=
MDPLANE_GOVERNED_MODE=false
# WS_URL=ws://127.0.0.1:3001/ws
# DISABLE_BACKGROUND_JOBS=false
# ALLOW_HTTP_WEBHOOKS=false
# MP_DEBUG_WS=false
# MAX_WORKSPACE_STORAGE_BYTES=104857600
# MAX_FILE_SIZE_BYTES=10485760
# MAX_VOLUME_SIZE_BYTES=5368709120
# -----------------------------------------------------------------------------
# Web (@mdplane/web)
# -----------------------------------------------------------------------------
NEXT_PUBLIC_API_URL=http://127.0.0.1:3001
NEXT_PUBLIC_APP_URL=http://127.0.0.1:3000
NEXT_PUBLIC_GOVERNED_MODE=false
# Optional server-side API override for Docker/internal networking.
# API_INTERNAL_URL=http://server:3001
# Optional override vars.
# NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001/ws
# -----------------------------------------------------------------------------
# Docs / Landing metadata (optional)
# -----------------------------------------------------------------------------
# NEXT_PUBLIC_DOCS_URL=http://127.0.0.1:3002
# NEXT_PUBLIC_SITE_URL=http://127.0.0.1:3004
# -----------------------------------------------------------------------------
# CLI overrides (optional)
# -----------------------------------------------------------------------------
# MDPLANE_API_URL=http://127.0.0.1:3001
# MDPLANE_APP_URL=http://127.0.0.1:3000