forked from Adamantine-guild/guildpass-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (33 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
43 lines (33 loc) · 1.58 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
# ============================================================================
# ACCESS API - ENVIRONMENT CONFIGURATION
# ============================================================================
# Copy this file to .env and fill in the required values.
# The API will fail to start if any REQUIRED settings are missing or malformed.
# ============================================================================
# ============================================================================
# SERVER (Optional - sensible defaults provided)
# ============================================================================
# Port the API listens on (default: 3000)
PORT=3000
# Node environment (default: development)
# Options: development | production | test
NODE_ENV=development
# Logging level (default: info)
# Options: error | warn | info | debug
LOG_LEVEL=info
# ============================================================================
# DATABASE (REQUIRED)
# ============================================================================
# PostgreSQL connection string
# Format: postgresql://user:password@host:port/database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/guildpass"
# ============================================================================
# FUTURE USE (not yet validated)
# ============================================================================
# Reserved for future blockchain integration
# MEMBERSHIP_NFT_ADDRESS=""
# CHAIN_ID=31337
# Reserved for future caching
# REDIS_URL="redis://localhost:6379"
# Reserved for future metrics auth
# METRICS_TOKEN=""