* feat: make installation scripts agent-friendly with CLI args
Add command-line argument support to install.sh and update.sh for both
x86_64 and aarch64 architectures:
- -d, --install-dir DIR Set installation directory
- -s, --systemd Auto-setup systemd service (install only)
- --no-systemd Skip systemd setup (install only)
- -y, --yes Non-interactive mode (auto-confirm prompts)
- -h, --help Show usage information
This allows agents and automation tools to run the scripts without
interactive prompts, making them suitable for CI/CD pipelines and
automated deployments.
* fix: add argument validation for --install-dir flag
Add validation to ensure -d/--install-dir is provided with a valid value:
- Checks that argument exists (not empty)
- Checks that argument doesn't start with '-' (not another flag)
- Exits with error message if validation fails
Fixes CodeRabbit review feedback on PR #2144.
* feat: add --skip-verify flag to skip verification step
Add --skip-verify flag to install and update scripts:
- linux-x86_64/install.sh
- linux-x86_64/update.sh
- linux-aarch64/install.sh
- linux-aarch64/update.sh
When --skip-verify is passed, the scripts skip downloading and
calling verify.sh entirely.
Usage: ./install.sh --skip-verify
* fix: ensure install dir does not contain whitespace
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Apply suggestion from @rolznz
* Apply suggestion from @coderabbitai[bot]
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Apply suggestion from @rolznz
* Update scripts/linux-aarch64/install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: molty21 <moltbot21@agentmail.to>
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: add base path to front end
- add docker build arg to set base path frontend is served under
- set vite.config.ts base value based on docker build arg
- update http variant request function to inject base path during calls to /api and /images
- update how static assets are loaded from public folder to inject base path during vite build
To use a base path build the docker image with --build-arg BASE_PATH=/hub/.
All assets and api calls from the frontend will use that base path as prefix.
The backend service is not using the base path, when using a proxy the base path has to be stripped.
* chore: simplify base path usage and add extra documentation
* chore: add extra documentation
---------
Co-authored-by: 8de2fdb0 <89734465+8de2fdb0@users.noreply.github.com>
We don't publish a Raspi Pi Zero guide on guides.getalby.com anymore.
Really only users with enough knowledge should do it.
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
* feat: archive integrity verification WIP
* feat: archive integrity verification in the aarch64 update script
* chore: extract verification into a separate file
* feat: add signature verification to all installation and update scripts
* fix: pass correct filenames when invoking the verification script
* chore: linux update script improvements
- add missing newlines
- use pwd to get current absolute directory, remove /albyhub suffix
- add file check to test if user is running in correct directory
* fix: script dir in update.sh
* fix: use a less-used port for the alby hub service so it doesn't conflict with other running apps
* doc: improve alby hub port documentation
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
---------
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
* add albyhub lib dir to ld.so.conf to allow setcap and shared libs + install lsof
* fix sudo tee
* remove lsof install + checking of port 80
* remove -a from tee
* chore: update install scripts
---------
Co-authored-by: Michael Bumann <hello@michaelbumann.com>
* chore: better handle ports on Pi and allow albyhub to run on port 80
* chore: install script: create data dir before running docker compose
* chore: install script for pi-aarch64
* chore: pi-zero move lib folder on update
* chore: replace (not append) files in install scripts
* chore: install text
* feat: improve install scripts for linux
this adds a default linux installation script to download and run Alby
Hub on a plain Linux machine.
* chore: download separate update script
* chore: add example Caddyfile
to setup Alby Hub with a Caddy reverse proxy for TLS
* Update scripts/linux-x86_64/README.md
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
* chore: move pi install scripts in special folder
* chore: note about memory
* chore: typo
---------
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
* chore: default protocol for phoenixd
some environments can only provide the host and port for internal services (e.g. render.com)
in those cases we default to http
* feat: add render.com config for phoneixd deployment
This allows one click deploys to render.com with a phoenixd backend
* Update render.yaml