chore: better handle ports on Pi and allow albyhub to run on port 80 (#584)

* 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
This commit is contained in:
Michael Bumann 2024-09-06 10:32:26 +02:00 committed by GitHub
parent 207a8e44cb
commit 49449f0dfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 160 additions and 24 deletions

View file

@ -5,13 +5,14 @@ Run your Alby Hub with phoenixd as a backend.
## Requirements
- Linux distribution
- Runs pretty much on any VPS or server
- Runs pretty much on any VPS or server (512MB+ memory recommended)
## Docker
To run Alby Hub with phoenixd use [docker-compose](https://docs.docker.com/compose/) using the [docker-compose.yml file](https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/docker-compose.yml).
$ wget https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/docker-compose.yml
$ 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.