mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-03 16:15:54 +00:00
PeaNUT: change default port (#10962)
This commit is contained in:
@@ -70,4 +70,4 @@ description
|
|||||||
msg_ok "Completed successfully!\n"
|
msg_ok "Completed successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"type": "ct",
|
"type": "ct",
|
||||||
"updateable": true,
|
"updateable": true,
|
||||||
"privileged": false,
|
"privileged": false,
|
||||||
"interface_port": 3000,
|
"interface_port": 8080,
|
||||||
"documentation": "https://github.com/Brandawg93/PeaNUT/blob/main/README.md",
|
"documentation": "https://github.com/Brandawg93/PeaNUT/blob/main/README.md",
|
||||||
"website": "https://github.com/Brandawg93/PeaNUT/",
|
"website": "https://github.com/Brandawg93/PeaNUT/",
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/peanut.webp",
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/peanut.webp",
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ mkdir -p /etc/peanut/
|
|||||||
ln -sf .next/standalone/server.js server.js
|
ln -sf .next/standalone/server.js server.js
|
||||||
cat <<EOF >/etc/peanut/settings.yml
|
cat <<EOF >/etc/peanut/settings.yml
|
||||||
WEB_HOST: 0.0.0.0
|
WEB_HOST: 0.0.0.0
|
||||||
WEB_PORT: 3000
|
WEB_PORT: 8080
|
||||||
NUT_HOST: 0.0.0.0
|
NUT_HOST: 0.0.0.0
|
||||||
NUT_PORT: 3493
|
NUT_PORT: 3493
|
||||||
EOF
|
EOF
|
||||||
@@ -52,7 +52,7 @@ Environment="NODE_ENV=production"
|
|||||||
#Environment="NUT_HOST=localhost"
|
#Environment="NUT_HOST=localhost"
|
||||||
#Environment="NUT_PORT=3493"
|
#Environment="NUT_PORT=3493"
|
||||||
#Environment="WEB_HOST=0.0.0.0"
|
#Environment="WEB_HOST=0.0.0.0"
|
||||||
#Environment="WEB_PORT=3000"
|
#Environment="WEB_PORT=8080"
|
||||||
WorkingDirectory=/opt/peanut
|
WorkingDirectory=/opt/peanut
|
||||||
ExecStart=node /opt/peanut/entrypoint.mjs
|
ExecStart=node /opt/peanut/entrypoint.mjs
|
||||||
TimeoutStopSec=30
|
TimeoutStopSec=30
|
||||||
|
|||||||
Reference in New Issue
Block a user