-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (20 loc) · 997 Bytes
/
.env.example
File metadata and controls
24 lines (20 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Example environment file for docker-compose (DO NOT put real secrets here)
#
# IMPORTANT: For production deployments, JWT_SECRET MUST be set to a strong, random string
# that is at least 32 bytes long (preferably 64+ bytes).
#
# The application will FAIL TO START in production if JWT_SECRET is not set.
# Set ENV=development or DEV=true to allow auto-generated keys during development.
# Optional: override listening port (container uses host network)
# PORT=38080
# REQUIRED: Set a strong JWT secret (min 32 bytes, 64+ recommended)
# Generate with: openssl rand -base64 64
JWT_SECRET=
# If you access OpsKernel through a domain / reverse proxy / Cloudflare,
# set this to your public origin so WebSocket Origin checks can pass.
# Comma-separated; can be full origins or hostnames.
# Examples:
# WS_ALLOWED_ORIGINS=https://opskernel.example.com,opskernel.example.com
WS_ALLOWED_ORIGINS=
# Optional: Set to "development" to allow auto-generated JWT secrets (NOT recommended)
# ENV=production