Files
AidsMonitoring/.env
T

33 lines
724 B
Bash

# Servidor
SERVER_HOST=0.0.0.0
SERVER_PORT=5503
# Base de datos
DATABASE_URL=sqlite:///./aidsmonitoring.db
# AIS Source: SIMULATOR | UDP | TCP | SERIAL
AIS_SOURCE=SIMULATOR
# Si AIS_SOURCE=UDP
AIS_UDP_HOST=127.0.0.1
AIS_UDP_PORT=10110
# Si AIS_SOURCE=SERIAL (RTL-SDR mañana)
AIS_SERIAL_PORT=COM3
AIS_SERIAL_BAUD=38400
# Mapa - centro inicial (Miami)
MAP_CENTER_LAT=25.7743
MAP_CENTER_LON=-80.1937
MAP_ZOOM=11
# GPS receptor serial — dejar vacío para auto-detección, poner COM8 si es fijo
GPS_PORT=
# GPS_BAUD=9600 # dejar comentado = prueba 9600, 4800, 115200, 38400 automáticamente
# Alertas
PROXIMITY_ALERT_METERS=500
PROJECTION_MINUTES=10
PRE_BUFFER_MINUTES=5
GPS_BAUD=9600