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:
MickLesk committed 2026-11-20 16:51:53 +01:00
1 parent 48687c5b2f
commit 33991d0819
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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}"
+2 -2
View File
@@ -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]