pyAirwaves is an ADS-B and AIS processing, storage, and display application with Leaflets integration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1012 B

  1. SQLALCHEMY_DATABASE_URI = \
  2. 'postgresql+psycopg2://postgres@database/pyairwaves'
  3. # Redis configuration for the ingesters<>backend pubsub
  4. REDIS_URL = "redis://127.0.0.1:6379/3"
  5. # Hostname on where this server is running
  6. PYAW_HOSTNAME = 'potato'
  7. # Sources for ADS-B and AIS, PLEASE NOTE that currently only one source is handled for each !
  8. # Port for ADSB (dump1090) needs to be 30003 (SBS BaseStation)
  9. # Port for AIS (rtl-ais) needs to be 10110
  10. # See docs/PubSub_structure.md for the value of (src)PosMode
  11. # Please note that the lat/lon of sources is public, you might want to use a lat/lon a bit away from your real location, or use town center, etc.
  12. ADSB_SOURCE = {"host": "patate", "port": 30003, "name": "patate", "posMode": 0, "lon": None, "lat": None, "reconnect_delay": 5, "thread_timeout": 30}
  13. AIS_SOURCE = {'host': 'patate', 'port': 10110, "name": "patate", "posMode": 0, "lon": None, "lat": None, "reconnect_delay": 5, "thread_timeout": 30}
  14. # Do not touch that
  15. SQLALCHEMY_RECORD_QUERIES = False