Security: SECRET_KEY obligatorio desde .env — sin fallback hardcodeado
This commit is contained in:
@@ -1,32 +1 @@
|
||||
# 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
|
||||
SECRET_KEY=900fc274236e8254115faf2815d6a775c1661e2d9b929a35a0ebed4147dd31f1
|
||||
|
||||
Reference in New Issue
Block a user