-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (21 loc) · 805 Bytes
/
Copy path.env.example
File metadata and controls
26 lines (21 loc) · 805 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
25
26
# =================================================================
# ChessKernel: Environment Variables
# Copy this file to .env and fill in your values before starting.
# =================================================================
# ---- PostgreSQL ----
POSTGRES_USER=chesskernel
POSTGRES_PASSWORD=change_me_strong_password
POSTGRES_DB=chesskernel
# ---- Redis ----
REDIS_PASSWORD=change_me_redis_password
# ---- JWT ----
# Generate both secrets with: openssl rand -hex 64
JWT_SECRET=change_me_64_hex_chars
JWT_ACCESS_EXPIRES_IN=15m
JWT_REFRESH_EXPIRES_IN=7d
# ---- CORS ----
# Must match the public URL of your frontend (no trailing slash)
CLIENT_ORIGIN=https://chess.yourdomain.com
# ---- Caddy ----
# Your public domain (Caddy fetches a TLS cert automatically)
DOMAIN=chess.yourdomain.com