Initial commit
This commit is contained in:
27
.env.example
Normal file
27
.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
PORT=8082
|
||||
CORS_ORIGIN=http://localhost:3000,http://127.0.0.1:3000
|
||||
|
||||
# Local dev only — skip 2FA for API keys (requires BARONG_SKIP_API_KEY_2FA=true on Dalan)
|
||||
SKIP_API_KEY_2FA=true
|
||||
|
||||
# Host dev (BFF on host → Traefik/Envoy)
|
||||
DALAN_URL=http://www.app.local/api/v2/dalan
|
||||
DENA_URL=http://www.app.local/api/v2/dena
|
||||
|
||||
# Docker stack (BFF container → Envoy gateway)
|
||||
# DALAN_URL=http://gateway:8099/api/v2/dalan
|
||||
# DENA_URL=http://gateway:8099/api/v2/dena
|
||||
# FIBITEX_HOST=www.app.local
|
||||
# CORS_ORIGIN=http://shahoo.app.local,http://localhost:3000,http://127.0.0.1:3000
|
||||
|
||||
# Rango private upstream for /api/1/ranger/ws proxy (WS4)
|
||||
# Prefer JWT → direct Rango (avoids Envoy cookie 401 on WS upgrade):
|
||||
# BARONG_URL=http://barong:8001
|
||||
# RANGER_PRIVATE_DIRECT_URL=ws://rango:8080/api/v2/ranger/private
|
||||
# Fallback cookie via gateway:
|
||||
# RANGER_PRIVATE_URL=ws://gateway:8099/api/v2/ranger/private
|
||||
# FIBITEX_HOST=www.app.local
|
||||
# REDIS_URL=redis://redis:6379/1
|
||||
# Optional Finex balances stream:
|
||||
# RANGER_INCLUDE_BALANCES=true
|
||||
# RANGER_PRIVATE_STREAMS=order,trade,deposit_address
|
||||
Reference in New Issue
Block a user