2022-03-02 19:18:07 -07:00
|
|
|
NODE_ENV=development
|
2022-02-28 22:04:36 -07:00
|
|
|
APP_SALT=RANDOM_SEED
|
2022-04-14 08:51:13 -06:00
|
|
|
LOG_LEVEL=debug
|
2022-03-21 07:28:52 -06:00
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
DB_NAME=retro-pilot
|
|
|
|
DB_USER=root
|
|
|
|
DB_PASS=root
|
2022-03-21 07:28:52 -06:00
|
|
|
# If using docker compose, this should match the container service name
|
2022-04-14 08:51:13 -06:00
|
|
|
DB_HOST=localhost
|
2022-02-28 22:04:36 -07:00
|
|
|
DB_PORT=5432
|
2022-03-21 07:28:52 -06:00
|
|
|
# Whether or not to DROP all tables and recreate to match the current models
|
|
|
|
DB_FORCE_SYNC=false
|
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
ALLOW_REGISTRATION=true
|
2022-03-20 17:59:37 -06:00
|
|
|
AUTH_2FA_ISSUER=RetroPilot
|
2022-03-21 07:28:52 -06:00
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
HTTP_INTERFACE=0.0.0.0
|
2022-03-21 15:44:25 -06:00
|
|
|
HTTP_PORT=8080
|
2022-03-21 07:28:52 -06:00
|
|
|
|
|
|
|
# Set to false to skip sending mail, all attempted mail is logged under DEBUG
|
2022-04-14 08:51:13 -06:00
|
|
|
CAN_SEND_MAIL=false
|
2022-03-21 07:28:52 -06:00
|
|
|
# credentials for smtp server to send account registration mails. if not filled in, get the generated tokens from the server.log manually
|
|
|
|
SMTP_HOST="localhost"
|
2022-02-28 22:04:36 -07:00
|
|
|
SMTP_PORT=25
|
|
|
|
SMTP_USER=root
|
|
|
|
SMTP_PASS=
|
|
|
|
SMTP_FROM="no-reply@retropilot.org"
|
2022-03-21 07:28:52 -06:00
|
|
|
|
|
|
|
# base url of the retropilot server
|
2022-03-21 15:44:25 -06:00
|
|
|
BASE_URL="http://192.168.1.165:8080/"
|
2022-03-21 07:28:52 -06:00
|
|
|
# base url sent to devices for POSTing drives & logs
|
2022-03-21 15:44:25 -06:00
|
|
|
BASE_UPLOAD_URL="http://192.168.1.165:8080/backend/post_upload"
|
2022-03-21 07:28:52 -06:00
|
|
|
# base download url for drive & log data
|
2022-03-21 15:44:25 -06:00
|
|
|
BASE_DRIVE_DOWNLOAD_URL="http://192.168.1.165:8080/realdata/"
|
2022-03-21 07:28:52 -06:00
|
|
|
# path mapping of above download url for expressjs, prefix with "/"
|
|
|
|
BASE_DRIVE_DOWNLOAD_PATH_MAPPING="/realdata"
|
|
|
|
# relative or absolute ( "/..." for absolute path )
|
|
|
|
STORAGE_PATH="realdata/"
|
2022-04-14 08:51:13 -06:00
|
|
|
|
2022-03-21 15:44:25 -06:00
|
|
|
CABANA_URL="http://192.168.1.165:8080/cabana/index.html"
|
2022-03-21 07:28:52 -06:00
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
DEVICE_STORAGE_QUOTA_MB=200000
|
|
|
|
DEVICE_EXPIRATION_DAYS=30
|
2022-03-21 07:28:52 -06:00
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
WELCOME_MESSAGE="<><><><><><><><><><><><><><><><><><><><><><><br>2022 RetroPilot"
|
2022-03-21 07:28:52 -06:00
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
USE_USER_ADMIN_API=0
|
2022-03-21 07:28:52 -06:00
|
|
|
|
2022-02-28 22:04:36 -07:00
|
|
|
CLIENT_SOCKET_PORT=81
|
|
|
|
CLIENT_SOCKET_HOST="0.0.0.0"
|