Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
2227861c33
@ -31,5 +31,10 @@
|
|||||||
"username": null,
|
"username": null,
|
||||||
"password": null
|
"password": null
|
||||||
},
|
},
|
||||||
"notes": []
|
"notes": [
|
||||||
|
{
|
||||||
|
"text": "Please check and update the '/opt/tracktor/app/backend/.env' file if using behind reverse proxy.",
|
||||||
|
"type": "info"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,10 @@ cat <<EOF >/opt/tracktor/app/backend/.env
|
|||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
PUBLIC_DEMO_MODE=false
|
PUBLIC_DEMO_MODE=false
|
||||||
DB_PATH=/opt/tracktor-data/tracktor.db
|
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
|
# 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.
|
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
|
PORT=3000
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Configured Tracktor"
|
msg_ok "Configured Tracktor"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user