.env.sample 759 B

12345678910111213141516171819202122
  1. # Local DevNet:
  2. SPY_SERVICE_HOST=0.0.0.0:7072
  3. # Filters (if provided) should be valid JSON like below:
  4. # These filters tell the spy to only retrieve messages sent from certain chains/contracts.
  5. # See the docker-compose.<network>.yaml files for the appropriate configuration for a
  6. # testnet/mainnet pyth price_service deployment.
  7. SPY_SERVICE_FILTERS=[{"chain_id":1,"emitter_address":"71f8dcb863d176e2c420ad6610cf687359612b6fb392e0642b0ca6b1f186aa3b"}]
  8. # Number of seconds to sync with spy to be sure to have latest messages
  9. READINESS_SPY_SYNC_TIME_SECONDS=60
  10. READINESS_NUM_LOADED_SYMBOLS=5
  11. WS_PORT=6200
  12. REST_PORT=4200
  13. PROM_PORT=8081
  14. # The default is to log with level info.
  15. #LOG_LEVEL=debug
  16. REMOVE_EXPIRED_VALUES_INTERVAL_SECONDS=60
  17. CACHE_TTL_SECONDS=300