34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
APP_SALT=RANDOM_SEED
|
|
DB_FILE=database.sqlite
|
|
DB_NAME=retro-pilot
|
|
DB_USER=root
|
|
DB_PASS=root
|
|
DB_HOST=db
|
|
DB_PORT=5432
|
|
ALLOW_REGISTRATION=true
|
|
HTTP_INTERFACE=0.0.0.0
|
|
HTTP_PORT=3000
|
|
CAN_SEND_MAIL=1 # Skips sending mail, all attempted mail is logged under DEBUG
|
|
SMTP_HOST="localhost" # credentials for smtp server to send account registration mails. if not filled in, get the generated tokens from the server.log manually
|
|
SMTP_PORT=25
|
|
SMTP_USER=root
|
|
SMTP_PASS=
|
|
SMTP_FROM="no-reply@retropilot.org"
|
|
BASE_URL="http://192.168.1.165:3000/" # base url of the retropilot server
|
|
BASE_UPLOAD_URL="http://192.168.1.165:3000/backend/post_upload" # base url sent to devices for POSTing drives & logs
|
|
BASE_DRIVE_DOWNLOAD_URL="http://192.168.1.165:3000/realdata/" # base download url for drive & log data
|
|
BASE_DRIVE_DOWNLOAD_PATH_MAPPING="/realdata" # path mapping of above download url for expressjs, prefix with "/"
|
|
STORAGE_PATH="realdata/"# relative or absolute ( "/..." for absolute path )
|
|
CABANA_URL="http://192.168.1.165:3000/cabana/index.html"
|
|
DEVICE_STORAGE_QUOTA_MB=200000
|
|
DEVICE_EXPIRATION_DAYS=30
|
|
WELCOME_MESSAGE="<><><><><><><><><><><><><><><><><><><><><><><br>2022 RetroPilot"
|
|
USE_USER_ADMIN_API=0
|
|
CLIENT_SOCKET_PORT=81
|
|
CLIENT_SOCKET_HOST="0.0.0.0"
|
|
ATHENA_ENABLED=1 # Enables Athena service
|
|
ATHENA_SECURE=1 # Disables crypto on Websocket server - use for testing on local network, change ATHENA_HOST in openpilot to ws:// instead of wss://
|
|
ATHENA_API_RATE_LIMIT=100 # Maxmium hits to /realtime/* per 30s
|
|
ATHENA_SOCKET_HOST="0.0.0.0"
|
|
ATHENA_SOCKET_PORT=4040
|
|
ATHENA_SOCKET_HEARTBEAT_FREQ=5000 # Higher the number = lower traffic, varies on how many devices are connected |