-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 1.37 KB
/
.env.example
File metadata and controls
39 lines (32 loc) · 1.37 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
# Local Deployment Configuration
# Copy this file to .env and fill in your VPS details
# VPS Connection (for local deployments via scripts/deploy.sh)
VPS_HOST=your-vps-ip-or-domain
VPS_USER=deploy
VPS_PATH=/var/www/wavefunc
# Production Environment Variables
# These should also be set in .env.production on the VPS
# and as GitHub Secrets for CI/CD deployments
# Server Configuration
NODE_ENV=production
PORT=3000
DOMAIN=your-domain.com
TLS_EMAIL=your-email@example.com
# Relay Configuration (use subdomain in production)
RELAY_URL=wss://relay.your-domain.com
RELAY_PORT=3334
# Application Private Key (for signing events)
# This key is used to:
# 1. Sign all station events during migration
# 2. Authenticate remote migration API requests (NIP-98)
# Generate a unique key for production: https://nostrtool.com/
APP_PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000004
# Nostr Keys (generate unique keys for production!)
# Use a tool like https://nostrtool.com/ to generate keys
METADATA_SERVER_KEY=0000000000000000000000000000000000000000000000000000000000000001
METADATA_SERVER_PUBKEY=79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
METADATA_CLIENT_KEY=0000000000000000000000000000000000000000000000000000000000000002
# Local Development (optional overrides)
# Uncomment these for local development
# RELAY_URL=ws://localhost:3334
# NODE_ENV=development