Refactor comments in tracktor-install.sh

Updated comments for clarity and removed default server host setting.
This commit is contained in:
Tobias 2025-10-29 08:46:09 +01:00 committed by GitHub
parent ba536ccc6a
commit 3b83737392
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,12 +28,14 @@ NODE_ENV=production
DB_PATH=/opt/tracktor-data/tracktor.db DB_PATH=/opt/tracktor-data/tracktor.db
UPLOADS_DIR="/opt/tracktor-data/uploads" UPLOADS_DIR="/opt/tracktor-data/uploads"
LOG_DIR="/opt/tracktor-data/logs" LOG_DIR="/opt/tracktor-data/logs"
# If server host is not set by default it will run on all interfaces - `0.0.0.0` # If server host is not set by default it will run on all interfaces - 0.0.0.0
SERVER_HOST="<LXC_IP_ADDRESS>" # SERVER_HOST=""
SERVER_PORT=3000 SERVER_PORT=3000
PORT=3000 PORT=3000
# CORS_ORIGINS="*" // Set this if you want to secure your endpoints otherwise default will be "*" # Set this if you want to secure your endpoints otherwise default will be "*"
# PUBLIC_API_BASE_URL="" // Set this if you are using backend and frontend separately. For lxc installation this is not needed # CORS_ORIGINS="*"
# Set this if you are using backend and frontend separately. For lxc installation this is not needed
# PUBLIC_API_BASE_URL=""
LOG_REQUESTS=true LOG_REQUESTS=true
LOG_LEVEL="info" LOG_LEVEL="info"
AUTH_PIN=123456 AUTH_PIN=123456