alby-hub/scripts/linux-x86_64/phoenixd
Matjaž Lipuš e0a51ba0c3
chore: rename LOG_EVENTS env variable (#1509)
* renamed config

* updated configs

* chore: renamed to SEND_EVENTS_TO_ALBY
2025-07-18 21:42:59 +07:00
..
docker-compose.yml chore: rename LOG_EVENTS env variable (#1509) 2025-07-18 21:42:59 +07:00
install.sh chore: rename LOG_EVENTS env variable (#1509) 2025-07-18 21:42:59 +07:00
README.md chore: better handle ports on Pi and allow albyhub to run on port 80 (#584) 2024-09-06 10:32:26 +02:00
render.yaml chore: rename LOG_EVENTS env variable (#1509) 2025-07-18 21:42:59 +07:00

Alby Hub <3 phoenixd

Run your Alby Hub with phoenixd as a backend.

Requirements

  • Linux distribution
  • Runs pretty much on any VPS or server (512MB+ memory recommended)

Docker

To run Alby Hub with phoenixd use docker-compose using the docker-compose.yml file.

$ wget https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/docker-compose.yml # <- edit for your needs, but defaults should work well
$ mkdir -p ./albyhub-phoenixd/phoenixd && mkdir -p ./albyhub-phoenixd/albyhub # <- create the data directories for phoenixd and albyhub. make sure to have backups of this
$ docker-compose up # or docker-compose up --pull=always <- to make sure you get the latest images

It will run on localhost:8080 by default. You can configure the port by editing the docker-compose.yml file.

Note: for simplicity it uses a preconfigired phoenixd password (see docker-compose.yml) this is fine as long as the service is not publicly exposed (change this password if you like).

Backup

Make sure to backup the albyhub-phoenixd which is used as volume for albyhub and phoenixd data files.

Non Docker

Installation (non-Docker)

$ wget https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/install.sh
$ chmod +x install.sh
$ ./install.sh

The install script will prompt you for a installation folder and will install phoenixd and Alby Hub there.

Optionally it also creates a systemd services.

It will run on localhost:8080 by default.

Running the services

Either use systemd:

$ sudo systemctl [start|stop] phoenixd.service
$ sudo systemctl [start|stop] albyhub.service

Or us the start scripts:

$ [your install path]/phoenixd/start.sh
$ [your install path]/albyhub/start.sh

Backup

Make sure to backup your data directories:

  • [your install path]/phoenixd/data
  • [your install path]/albyhub/data