-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (42 loc) · 2.52 KB
/
.env.example
File metadata and controls
53 lines (42 loc) · 2.52 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
# ══════════════════════════════════════════════════════════════════════════════
# RETE Environment Configuration
#
# Copy this file to .env and fill in the values:
# cp .env.example .env
# ══════════════════════════════════════════════════════════════════════════════
# ── Database ──────────────────────────────────────────────────────────────────
# PostgreSQL credentials (used by docker-compose)
POSTGRES_USER=rete
POSTGRES_PASSWORD=rete_password
POSTGRES_DB=rete
# Direct database URL (used by the app, auto-configured in docker-compose)
# DATABASE_URL=postgresql://rete:rete_password@localhost:5432/rete
# ── Application ───────────────────────────────────────────────────────────────
# Session secret - CHANGE THIS IN PRODUCTION!
SESSION_SECRET=change-me-to-a-secure-random-string
# Set to "false" if accessing over HTTP (no HTTPS). Default: true in production.
COOKIE_SECURE=false
# Server port (default: 5000)
APP_PORT=5000
# ── Blockchain Configuration ──────────────────────────────────────────────────
# Admin wallet private key (without 0x prefix)
# This wallet must have ETH for gas and will be used to deploy tokens and execute transactions
PRIVATE_KEY=
# RPC URL for blockchain connection
# Sepolia: https://sepolia.infura.io/v3/YOUR_KEY
# Mainnet: https://mainnet.infura.io/v3/YOUR_KEY
# Polygon: https://polygon-rpc.com
RPC_URL=https://sepolia.infura.io/v3/YOUR_INFURA_KEY
# ReteTokenFactory contract address
# Deploy the factory first, then set this address
FACTORY_ADDRESS=
# Chain ID
# Sepolia: 11155111
# Mainnet: 1
# Polygon: 137
CHAIN_ID=11155111
# Encryption key for wallet private keys (use: openssl rand -hex 32)
WALLET_ENCRYPTION_KEY=
# ── Ports (for docker-compose) ────────────────────────────────────────────────
# Database port (external)
DB_PORT=5432