forked from JSE-ORG/trust-link-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test
More file actions
21 lines (16 loc) · 719 Bytes
/
Copy path.env.test
File metadata and controls
21 lines (16 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
NODE_ENV=test
# Database — ephemeral in-memory/local for CI
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/trustlink_test"
# Auth
SEP10_JWT_SECRET="test-jwt-secret-32-characters-long!!"
ADMIN_ADDRESS="admin-address"
# Stellar — testnet, no real calls
STELLAR_NETWORK=TESTNET
STELLAR_HORIZON_URL="https://horizon-testnet.stellar.org"
# Server
PORT=3001
# make sure .env.test has this set to any valid 64-hex-char string, e.g.:
CONTACT_ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000
# Without it encryptContact will throw at startup and every test will fail.
SYSTEM_SIGNER_SECRET=SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
CONTRACT_ID=test-contract-id