-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy path.env.test
More file actions
107 lines (74 loc) · 3.4 KB
/
Copy path.env.test
File metadata and controls
107 lines (74 loc) · 3.4 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
```env
# ============================================================
# CI / Application Configuration
# Used by the API contract smoke tests in:
# .github/workflows/api-contract.yml
# ============================================================
# Application environment.
# "test" enables test-specific application behavior.
NODE_ENV=test
# Port used by the API during CI smoke tests.
PORT=3000
# ============================================================
# Database Configuration
# ============================================================
# Non-secret PostgreSQL connection string used by CI.
# This is a local/test stub and is not intended for production.
DATABASE_URL=postgresql://user:pass@localhost:5432/db
# ============================================================
# Stellar / Blockchain Configuration
# ============================================================
# Stellar network used during CI tests.
STELLAR_NETWORK=testnet
# Stub Stellar RPC endpoint.
# No real production endpoint or credential is required for smoke tests.
STELLAR_RPC_URL=https://rpc.example.com
# Non-secret placeholder for the Stellar agent secret key.
# Used only to satisfy environment validation during CI.
STELLAR_AGENT_SECRET_KEY=SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# Placeholder Vault contract ID used by CI.
VAULT_CONTRACT_ID=CDUMMYVAULTCONTRACTID
# Placeholder USDC token contract/address used by CI.
USDC_TOKEN_ADDRESS=CDUMMYUSDC
# ============================================================
# AI / Anthropic Configuration
# ============================================================
# Non-secret placeholder API key.
# Used only to satisfy environment validation during CI.
ANTHROPIC_API_KEY=sk-ant-smoke-key
# ============================================================
# Encryption / Security Configuration
# ============================================================
# Test-only encryption key.
# This value is a non-production stub used to satisfy validation.
WALLET_ENCRYPTION_KEY=a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
# ============================================================
# JWT Configuration
# ============================================================
# Seed used to generate/sign JWT-related values in the test environment.
JWT_SEED=smoke-jwt-seed-0123456789abcdef0123456789
# JWT session lifetime in hours.
JWT_SESSION_TTL_HOURS=24
# JWT nonce lifetime in milliseconds.
JWT_NONCE_TTL_MS=300000
# Interval for cleaning up expired JWT/nonces in milliseconds.
JWT_CLEANUP_INTERVAL_MS=86400000
# ============================================================
# External Services / Internal Authentication
# ============================================================
# Placeholder Twilio authentication token.
# Used only to satisfy environment validation in CI.
TWILIO_AUTH_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# Placeholder token used for internal service-to-service authentication.
INTERNAL_SERVICE_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# ============================================================
# Network / HTTP Configuration
# ============================================================
# IP addresses allowed to access trusted/internal endpoints.
TRUSTED_IPS=127.0.0.1
# Allowed CORS origins.
# "*" allows all origins in the CI test environment.
CORS_ORIGINS=*
# Maximum HTTP client request timeout in milliseconds.
HTTP_CLIENT_TIMEOUT_MS=1000
```