This repository has been archived by the owner on Oct 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bf98a8
commit 49ad820
Showing
6 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ docker stack deploy -c docker-compose-traefik.yml rb | |
# download distribution | ||
mkdir -p radiobrowser | ||
cd radiobrowser | ||
wget https://github.com/segler-alex/radiobrowser-api-rust/releases/download/0.7.23/radiobrowser-dist.tar.gz | ||
wget https://github.com/segler-alex/radiobrowser-api-rust/releases/download/0.7.24/radiobrowser-dist.tar.gz | ||
tar -zxf radiobrowser-dist.tar.gz | ||
|
||
# config database | ||
|
@@ -116,9 +116,9 @@ sudo systemctl start radiobrowser | |
* create database and database user | ||
|
||
```bash | ||
wget https://github.com/segler-alex/radiobrowser-api-rust/releases/download/0.7.23/radiobrowser-api-rust_0.7.23_amd64.deb | ||
wget https://github.com/segler-alex/radiobrowser-api-rust/releases/download/0.7.24/radiobrowser-api-rust_0.7.24_amd64.deb | ||
sudo apt install default-mysql-server | ||
sudo dpkg -i radiobrowser-api-rust_0.7.23_amd64.deb | ||
sudo dpkg -i radiobrowser-api-rust_0.7.24_amd64.deb | ||
cat /usr/share/radiobrowser/init.sql | mysql | ||
``` | ||
|
||
|
@@ -178,7 +178,7 @@ docker run \ | |
-p 3306:3306 \ | ||
mariadb --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | ||
# start radiobrowser container | ||
docker pull segleralex/radiobrowser-api-rust:0.7.23 | ||
docker pull segleralex/radiobrowser-api-rust:0.7.24 | ||
docker run \ | ||
--name radiobrowserapi \ | ||
--detach \ | ||
|
@@ -187,7 +187,7 @@ docker run \ | |
-e DATABASE_URL=mysql://radiouser:password@dbserver/radio \ | ||
-e HOST=0.0.0.0 \ | ||
-p 8080:8080 \ | ||
segleralex/radiobrowser-api-rust:0.7.23 radiobrowser-api-rust -vvv | ||
segleralex/radiobrowser-api-rust:0.7.24 radiobrowser-api-rust -vvv | ||
# show logs | ||
docker logs -f radiobrowserapi | ||
# access api with the following link | ||
|
@@ -251,7 +251,7 @@ cd radiobrowser-api-rust | |
# checkout stable | ||
git checkout stable | ||
# deploy, change email adress, for ssl with certbot | ||
ansible-playbook -e "[email protected]" -e "version=0.7.23" -e "ansible_python_interpreter=auto" -i "test.example.com,test2.example.com" ansible/playbook.yml | ||
ansible-playbook -e "[email protected]" -e "version=0.7.24" -e "ansible_python_interpreter=auto" -i "test.example.com,test2.example.com" ansible/playbook.yml | ||
``` | ||
|
||
## Building | ||
|
@@ -300,7 +300,7 @@ mysql -D radio -u radiouser -ppassword | |
A print of the help page of the main executable. You can see parameters here. Many of them may also be set by environment variable (env: ..). | ||
``` | ||
$ radiobrowser-api-rust --help | ||
radiobrowser-api-rust 0.7.23 | ||
radiobrowser-api-rust 0.7.24 | ||
[email protected] | ||
HTTP Rest API for radiobrowser | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters