mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-21 05:18:25 +01:00
ArchiveBox: stay on port 8000
Updates keep the port a container already has, so 0.7 installs stayed on 8000 while new installs moved to 5797. One port for both keeps the URL the website and the script print right for every container.
This commit is contained in:
1 parent
48687c5b2f
commit
33991d0819
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -80,4 +80,4 @@ description
|
||||
msg_ok "Completed successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:5797/admin/${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8000/admin/${CL}"
|
||||
@@ -38,7 +38,7 @@ cd /opt/archivebox/data
|
||||
$STD archivebox init
|
||||
ADMIN_PASS=$(random_password 20)
|
||||
DJANGO_SUPERUSER_USERNAME=archivebox DJANGO_SUPERUSER_EMAIL=archivebox@archivebox.local DJANGO_SUPERUSER_PASSWORD="$ADMIN_PASS" $STD archivebox manage createsuperuser --noinput
|
||||
$STD archivebox config --set "BASE_URL=http://${LOCAL_IP}:5797"
|
||||
$STD archivebox config --set "BASE_URL=http://${LOCAL_IP}:8000"
|
||||
cat <<EOF >~/archivebox.creds
|
||||
ArchiveBox Credentials
|
||||
Username: archivebox
|
||||
@@ -58,7 +58,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/archivebox/data
|
||||
ExecStart=/opt/archivebox/.venv/bin/archivebox server 0.0.0.0:5797
|
||||
ExecStart=/opt/archivebox/.venv/bin/archivebox server 0.0.0.0:8000
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in new issue
Block a user