This repository was archived by the owner on Feb 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (54 loc) · 1.94 KB
/
.env.example
File metadata and controls
60 lines (54 loc) · 1.94 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
# === REQUIRED (Change before running in production) ===
# `SALT`: MUST be changed before deployment. Must be at least 32 characters and generated
# with a cryptographically secure random generator.
# Example: `openssl rand -hex 32`
SALT='CHANGE_ME_SALT_generate_with_openssl_rand_hex_32'
# `SERVER_KEY`: secret key used for server-to-server auth. MUST be changed before deployment.
# Generate a long random value (32+ bytes of hex) with a cryptographically secure generator.
# Example: `openssl rand -hex 32`
SERVER_KEY='CHANGE_ME_SERVER_KEY_generate_with_openssl_rand_hex_32'
# Optional rate-limit bypass lists (comma-separated)
RATELIMIT_BYPASS_IPS=""
RATELIMIT_BYPASS_USERIDS="1"
# === DATABASE (Change for your environment) ===
# PostgreSQL DB 설정
POSTGRESQL_HOST=postgres
POSTGRESQL_PORT=5432
# `POSTGRESQL_USER`: DB username
POSTGRESQL_USER=postgres
# `POSTGRESQL_PASSWORD`: DB password (REQUIRED if not using trust)
POSTGRESQL_PASSWORD=postgres
# `POSTGRESQL_NAME`: database name
POSTGRESQL_NAME=pjsedb
# `POSTGRESQL_SSL`: set to 'disable' for local docker; use 'require' in production if supported
POSTGRESQL_SSL=disable
# Redis 설정
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_USERNAME=default
# `REDIS_PASSWORD`: MUST be set to a strong random value in production if your Redis requires AUTH.
# Example: `openssl rand -hex 32`. Do NOT use any example or default password in production.
REDIS_PASSWORD=""
REDIS_DB=0
REDIS_TLS=false
# Server settings
# `HOST`/`PORT`: server listen address and port
HOST=0.0.0.0
PORT=8000
# `ORIGIN`: application origin used for CSRF/trusted origins
ORIGIN="http://localhost:8000"
CLOUDFLARED_TUNNEL=false
ALLOW_TEST_PAGE=true
SYS_LOG=true
SYS_LOG_STDOUT=true
SYS_LOG_LOCATION=./logs
# Email (optional): fill these only if you want email features (recovery/confirmations)
SMTP_HOST=
SMTP_FROM=
SMTP_USERNAME=
SMTP_PASSWORD=""
SMTP_SECURITY=force_tls
SMTP_PORT=
# 리버스 프록시 설정
#ADDRESS_HEADER=X-Forwarded-For
#XFF_DEPTH=1