-
Notifications
You must be signed in to change notification settings - Fork 12
/
settings.py
21 lines (18 loc) · 911 Bytes
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import os
# Commons
MONGODB_URL = os.environ.get("MONGODB_URL") or "mongodb://localhost:27017/winds_mobi"
REDIS_URL = os.environ.get("REDIS_URL") or "redis://localhost:6379/0"
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
# Logging and monitoring
SENTRY_URL = os.environ.get("SENTRY_URL")
ENVIRONMENT = os.environ.get("ENVIRONMENT") or "development"
# Providers
ADMIN_DB_URL = os.environ.get("ADMIN_DB_URL") or "postgres://postgres:postgres@localhost:5432/winds_mobi"
BORN_TO_FLY_VENDOR_ID = os.environ.get("BORN_TO_FLY_VENDOR_ID")
BORN_TO_FLY_DEVICE_ID = os.environ.get("BORN_TO_FLY_DEVICE_ID")
CHECKWX_API_KEY = os.environ.get("CHECKWX_API_KEY") # For METAR provider
FFVL_API_KEY = os.environ.get("FFVL_API_KEY")
IWEATHAR_KEY = os.environ.get("IWEATHAR_KEY")
ROMMA_KEY = os.environ.get("ROMMA_KEY")
WINDLINE_SQL_URL = os.environ.get("WINDLINE_SQL_URL")
WINDY_API_KEY = os.environ.get("WINDY_API_KEY")