-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 985 Bytes
/
.env.example
File metadata and controls
33 lines (27 loc) · 985 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
27
28
29
30
31
32
33
# IPFS Pinning Service Configuration
# Server Configuration
PORT=6000
# ============================================
# Database Configuration
# ============================================
# Option 1: SQLite (default, path relative to working directory)
DATABASE_PATH=data/pinning.db
# Option 2: PostgreSQL (takes precedence if POSTGRES_HOST is set)
# For production use with multiple apps accessing the database
# POSTGRES_HOST=localhost
# POSTGRES_PORT=5432
# POSTGRES_DB=pinning_service
# POSTGRES_USER=pinning_user
# POSTGRES_PASSWORD=your_secure_password
# POSTGRES_SSL=false
# ============================================
# IPFS Configuration
# ============================================
IPFS_API_ADDR=/ip4/127.0.0.1/tcp/5001
# Blockchain Configuration
POOL_ID=1
# ============================================
# Admin API Configuration
# ============================================
# Generate a secure random key for production use
SYSTEM_KEY=your_secure_system_key_here