forked from LeaseFlow-Protocol/LeaseFlow-Protocol-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (51 loc) · 1.58 KB
/
.env.example
File metadata and controls
61 lines (51 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Server Config
PORT=3000
# IPFS Config (Example using Infura)
IPFS_HOST=ipfs.infura.io
IPFS_PORT=5001
IPFS_PROTOCOL=https
IPFS_PROJECT_ID=your_infura_project_id
IPFS_PROJECT_SECRET=your_infura_project_secret
# Stellar Config
CONTRACT_ID=CAEGD57WVTVQSYWYB23AISBW334QO7WNA5XQ56S45GH6BP3D2AVHKUG4
PORT=3000
# Auth configuration
AUTH_JWT_SECRET=replace-with-a-long-random-secret
AUTH_JWT_ISSUER=leaseflow-backend
AUTH_JWT_AUDIENCE=leaseflow-users
# SQLite persistence
DATABASE_FILENAME=./data/leaseflow-protocol.sqlite
# Lease renewal job
LEASE_RENEWAL_JOB_ENABLED=false
LEASE_RENEWAL_JOB_INTERVAL_MS=86400000
LEASE_RENEWAL_SCAN_WINDOW_DAYS=0
# Soroban configuration
SOROBAN_CONTRACT_ID=CAEGD57WVTVQSYWYB23AISBW334QO7WNA5XQ56S45GH6BP3D2AVHKUG4
DISCORD_WEBHOOK_URL=your_discord_webhook_url_here
# Algorand Configuration
# Algorand Network Configuration
ALGOD_TOKEN=
ALGOD_SERVER=https://testnet-api.algonode.cloud
ALGOD_PORT=443
# PostgreSQL Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/leaseflow_db
# OR use individual variables:
# DB_HOST=localhost
# DB_PORT=5432
# DB_NAME=leaseflow_db
# DB_USER=username
# DB_PASSWORD=password
# Email Configuration (for notifications)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
EMAIL_FROM=your-email@gmail.com
# SMS Configuration (Twilio)
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=+1234567890
# Owner Configuration (for auto-reclaim)
# Owner Account (for executing reclaim transactions)
OWNER_MNEMONIC=