Improve comments in tracktor-install.sh

Updated comments for clarity in environment variable configuration.
This commit is contained in:
Tobias 2025-08-25 16:39:42 +02:00 committed by GitHub
parent 92e50a1438
commit 36db41530a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,8 +26,10 @@ cat <<EOF >/opt/tracktor/app/backend/.env
NODE_ENV=production
PUBLIC_DEMO_MODE=false
DB_PATH=/opt/tracktor-data/tracktor.db
PUBLIC_API_BASE_URL=http://$HOST_IP:3000 # Replace this URL if using behind reverse proxy for https traffic. Though it is optional and should work without changing
CORS_ORIGINS=http://$HOST_IP:3000 # Here add the reverse proxy url as well to avoid cross errors from the app.
# Replace this URL if using behind reverse proxy for https traffic. Though it is optional and should work without changing
PUBLIC_API_BASE_URL=http://$HOST_IP:3000
# Here add the reverse proxy url as well to avoid cross errors from the app.
CORS_ORIGINS=http://$HOST_IP:3000
PORT=3000
EOF
msg_ok "Configured Tracktor"