mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: use a less-used port for the alby hub service so it doesn't conflict with other running apps (#690)
* 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>
This commit is contained in:
parent
55648f0bb7
commit
24ad1f2a7f
3 changed files with 6 additions and 5 deletions
|
|
@ -14,6 +14,6 @@
|
|||
# Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG
|
||||
#}
|
||||
|
||||
# Alby Hub runs on 8080 by default
|
||||
reverse_proxy :8080
|
||||
# Alby Hub runs on 8029 by default
|
||||
reverse_proxy :8029
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ We recommend inspecting the install script and if needed adjusting it or taking
|
|||
|
||||
If you do a fresh server setup make sure to do the basic setup like for example creating a new user and configuring the firewall. Here is a [simple tutorial for this](https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu).
|
||||
|
||||
|
||||
Run the installation script on your server:
|
||||
|
||||
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/install.sh)"
|
||||
|
|
@ -23,7 +22,7 @@ Optionally it can also create a systemd service for you.
|
|||
|
||||
You can also do these quite simple steps manually, have a look in the install script for details.
|
||||
|
||||
Alby Hub will run on localhost:8080 by default (configurable using the `PORT` environment variable or by adding `Environment="PORT=8081"` to the `[Service]` section of the albyhub.service file - See "Editing The Service" below)
|
||||
Alby Hub will run on localhost:8080 (standalone) or localhost:8029 (when run with a systemd service) configurable using the `PORT` environment variable or by editing `Environment="PORT=8029"` in the albyhub.service systemd config file - See "Editing The Service" below)
|
||||
|
||||
To run on a public domain we recommend the use of a reverse proxy using [Caddy](https://caddyserver.com/)
|
||||
|
||||
|
|
@ -42,6 +41,7 @@ Or use the start scripts:
|
|||
$ sudo journalctl -u albyhub
|
||||
|
||||
### Editing The Service (systemd)
|
||||
|
||||
$ sudo nano /etc/systemd/system/albyhub.service
|
||||
$ sudo systemctl daemon-reload
|
||||
$ sudo systemctl restart albyhub.service
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ Restart=always
|
|||
RestartSec=1
|
||||
User=$USER
|
||||
ExecStart=$INSTALL_DIR/start.sh
|
||||
Environment="PORT=8029"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -86,4 +87,4 @@ echo "Run 'sudo systemctl start/stop albyhub' to start/stop AlbyHub"
|
|||
echo ""
|
||||
echo ""
|
||||
echo " ✅ DONE. Open Alby Hub to get started"
|
||||
echo "Alby Hub runs by default on localhost:8080"
|
||||
echo "Alby Hub runs by default on localhost:8029"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue