forked from Stellar-Paymaster/xlm-paymaster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker
More file actions
62 lines (54 loc) · 2.99 KB
/
Copy path.env.docker
File metadata and controls
62 lines (54 loc) · 2.99 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
61
62
# Docker Compose Environment Template
# Copy this to .env (not .env.docker) or use --env-file during docker-compose up
# Usage: docker-compose --env-file .env.docker up
# =============================================================================
# Database Configuration (PostgreSQL)
# =============================================================================
POSTGRES_USER=fluid
POSTGRES_PASSWORD=fluid_pass
POSTGRES_DB=fluid_db
# =============================================================================
# Cache Configuration (Redis)
# =============================================================================
REDIS_URL=redis://redis:6379
# =============================================================================
# Common Stellar Configuration
# =============================================================================
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
# =============================================================================
# REQUIRED: Fluid Fee Payer Secret
# Add one or more comma-separated secrets for the signer pool
# Generate a new Stellar account and use its secret key (starts with S)
# Example: Generate at https://laboratory.stellar.org/#account-creator
# =============================================================================
FLUID_FEE_PAYER_SECRET=SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
# =============================================================================
# Rust Engine Configuration (fluid-server)
# =============================================================================
FLUID_BASE_FEE=100
FLUID_FEE_MULTIPLIER=2.0
FLUID_HORIZON_SELECTION=priority
FLUID_RATE_LIMIT_WINDOW_MS=60000
FLUID_RATE_LIMIT_MAX=5
FLUID_ALLOWED_ORIGINS=*
# =============================================================================
# Dashboard / NextAuth Configuration
# =============================================================================
# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
AUTH_SECRET=random_secret_for_dev_only_change_in_production
ADMIN_EMAIL=admin@fluid.dev
# BCrypt hash for 'password' (12 rounds) - CHANGE IN PRODUCTION
# Generate with: node -e "const bcrypt = require('bcryptjs'); console.log(bcrypt.hashSync('your-password', 12));"
ADMIN_PASSWORD_HASH=$2a$12$R.S6/e8G4U3ZJmBf6Bf6Bf6Bf6Bf6Bf6Bf6Bf6Bf6Bf6Bf6Bf6B
NEXTAUTH_URL=http://localhost:3002
# =============================================================================
# Service URLs (Internal Docker Network)
# =============================================================================
FLUID_SERVER_URL=http://rust-engine:3000
# =============================================================================
# Optional: Stripe & Other configurations
# =============================================================================
# STRIPE_SECRET_KEY=sk_test_...
# STRIPE_WEBHOOK_SECRET=whsec_...
# FLUID_ALERT_SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...