23 lines
632 B
Python
23 lines
632 B
Python
"""
|
|
Core configuration for Terra-View application
|
|
"""
|
|
import os
|
|
|
|
# Application
|
|
APP_NAME = "Terra-View"
|
|
VERSION = "1.0.0"
|
|
ENVIRONMENT = os.getenv("ENVIRONMENT", "production")
|
|
|
|
# Ports
|
|
PORT = int(os.getenv("PORT", 8001))
|
|
|
|
# External Services
|
|
# Terra-View is a unified application with seismograph logic built-in
|
|
# The only external HTTP dependency is SLMM for NL-43 device communication
|
|
SLMM_API_URL = os.getenv("SLMM_API_URL", "http://localhost:8100")
|
|
|
|
# Database URLs (feature-specific)
|
|
SEISMO_DATABASE_URL = "sqlite:///./data/seismo.db"
|
|
SLM_DATABASE_URL = "sqlite:///./data/slm.db"
|
|
MODEM_DATABASE_URL = "sqlite:///./data/modem.db"
|