FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cnode-next/.env.example at main · cnodejs/cnode-next · GitHub
cnodejs
/
cnode-next
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
8
Code
Issues
2
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cnode-next
/
.env.example
Copy path
More file actions
More file actions
Latest commit
History
History
History
71 lines (62 loc) · 1.78 KB
Breadcrumbs
cnode-next
/
.env.example
Copy path
File metadata and controls
71 lines (62 loc) · 1.78 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
71
#
.env.example - local development template.
#
Copy to .env and fill local values. The deployment example is docs/deployment/env.production.example.
#
The default local launcher reads only root .env. Use CNODE_ENV_FILE=.env.remote.local
#
for an explicit private profile such as a remote rehearsal database.
#
Application
CNODE_NAME
=
cnode-next
CNODE_ENV
=
development
CNODE_PORT
=
3001
CNODE_WEB_BASE_URL
=
http://localhost:5173
CNODE_API_BASE_URL
=
http://localhost:3001
CNODE_API_INTERNAL_BASE_URL
=
http://localhost:3001
CNODE_ADMINS
=
#
PostgreSQL
POSTGRES_HOST
=
127.0.0.1
POSTGRES_PORT
=
5432
POSTGRES_DB
=
cnode_local
POSTGRES_USER
=
cnode
POSTGRES_PASSWORD
=
replace-with-local-postgres-password
#
Redis
REDIS_HOST
=
127.0.0.1
REDIS_PORT
=
6379
REDIS_DB
=
0
REDIS_PASSWORD
=
#
Authentication and session
AUTH_SESSION_SECRET
=
change-me
AUTH_COOKIE_DOMAIN
=
localhost
AUTH_COOKIE_NAME
=
node_club
AUTH_GITHUB_CLIENT_ID
=
AUTH_GITHUB_CLIENT_SECRET
=
AUTH_GITHUB_CALLBACK_URL
=
http://localhost:5173/auth/github/callback
#
Mail
SMTP_HOST
=
SMTP_PORT
=
25
SMTP_USER
=
SMTP_PASS
=
SMTP_FROM
=
cnode@localhost
SMTP_FROM_NAME
=
CNode
#
Object storage
OSS_ACCESS_KEY_ID
=
OSS_ACCESS_KEY_SECRET
=
OSS_BUCKET
=
OSS_REGION
=
oss-cn-hongkong
OSS_ENDPOINT
=
OSS_STATIC_HOST
=
http://localhost:3001
OSS_UPLOAD_PREFIX
=
cnode-next/uploads
OSS_UPLOAD_EXPIRES
=
600
#
Turnstile
TURNSTILE_SITE_KEY
=
TURNSTILE_SECRET_KEY
=
#
Moderation worker
MODERATION_SCHEDULE_ENABLED
=
0
MODERATION_SCHEDULE_INTERVAL_MS
=
3600000
MODERATION_SCAN_BATCH_SIZE
=
200
MODERATION_SCAN_THROTTLE_MS
=
500
MODERATION_SCAN_MAX_BATCHES_PER_RUN
=
100
#
OpenTelemetry signals are disabled by default for local development.
CNODE_OTEL_ENABLED
=
0
CNODE_OTEL_EXPORTER_OTLP_BASE_ENDPOINT
=
http://127.0.0.1:4318
CNODE_OTEL_TRACES_ENABLED
=
1
CNODE_OTEL_LOGS_ENABLED
=
1
CNODE_OTEL_METRICS_ENABLED
=
1
CNODE_OTEL_TRACE_SAMPLE_RATIO
=
0.1
Back
|
FazBrowse Home
|
New Git URL