From 1762392d226b1a8f990657094e4aa8b5e5687095 Mon Sep 17 00:00:00 2001 From: sailor Date: Mon, 6 Jan 2020 23:27:26 +0100 Subject: [PATCH 1/9] fix for sql error in checks endpoint --- CHANGELOG.md | 2 ++ src/db/db_mysql/mod.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb4c611..b7f226c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- SQL error in endpoint /checks?seconds=x ## [0.6.0] - 2020-01-06 ### Added diff --git a/src/db/db_mysql/mod.rs b/src/db/db_mysql/mod.rs index 38ed1ef..fbc88c9 100644 --- a/src/db/db_mysql/mod.rs +++ b/src/db/db_mysql/mod.rs @@ -823,7 +823,7 @@ impl DbConnection for MysqlConnection { let table_name = if include_history { "StationCheckHistory" } else { "StationCheck" }; let where_seconds = if seconds > 0 { format!( - "TIMESTAMPDIFF(SECOND,CheckTime,now())<{seconds}", + "AND TIMESTAMPDIFF(SECOND,CheckTime,now())<{seconds}", seconds = seconds ) } else { From d5b214f61f93458692587223e98701038ba9e769 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Jan 2020 04:44:04 +0100 Subject: [PATCH 2/9] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e7ead84..11063c3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # radiobrowser-api-rust -This is the radio browser server part providing the API on http://www.radio-browser.info + +This is the radio browser server part providing the API on the second level servers for http://www.radio-browser.info +The server adresses are: +* https://de1.api.radio-browser.info +* https://fr1.api.radio-browser.info +* https://nl1.api.radio-browser.info + +The main server on http://www.radio-browser.info still has an older version running which will not be upgraded anymore. Send me feature requests, bug reports or extend it yourself. I license it freely, you could also start your own server if you wish. @@ -105,4 +112,4 @@ docker-compose up --abort-on-container-exit ```bash cargo install cargo-deb cargo deb # run this in your Cargo project directory -``` \ No newline at end of file +``` From a655ce7ef967346c433448cd13aa48e221092ada Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Jan 2020 04:44:32 +0100 Subject: [PATCH 3/9] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 11063c3..dd0207d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # radiobrowser-api-rust This is the radio browser server part providing the API on the second level servers for http://www.radio-browser.info + The server adresses are: * https://de1.api.radio-browser.info * https://fr1.api.radio-browser.info From ae41a171a45b6bc81a5e1c1e19712440c7ae6762 Mon Sep 17 00:00:00 2001 From: sailor Date: Tue, 7 Jan 2020 05:29:22 +0100 Subject: [PATCH 4/9] docs update --- static/docs.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/docs.hbs b/static/docs.hbs index 711a38a..fc11a36 100644 --- a/static/docs.hbs +++ b/static/docs.hbs @@ -881,6 +881,7 @@

Playable station URL

Returns the playable URL for the station. Any playlist (PLS, ASX, M3U) decoding will be done for you. + A call of this endpoint will also count a click for the station! This API call will count as a click on the station, supported output formats: JSON, XML ,PLS ,M3U


Syntax:
@@ -898,7 +899,7 @@ { "ok": "true", "message": "retrieved station url", - "id": "123", + "stationuuid": "9617a958-0601-11e8-ae97-52543be04c81", "name": "Station name", "url": "http://this.is.an.url" } From fe809658e484ebaabc264c53fed3878de015b7bb Mon Sep 17 00:00:00 2001 From: Zo Shin <38669548+zo-shin@users.noreply.github.com> Date: Tue, 7 Jan 2020 19:46:20 +0800 Subject: [PATCH 5/9] Fixed Typo Fixed a typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd0207d..1dfd813 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is the radio browser server part providing the API on the second level servers for http://www.radio-browser.info -The server adresses are: +The server addresses are: * https://de1.api.radio-browser.info * https://fr1.api.radio-browser.info * https://nl1.api.radio-browser.info From 9712f2338010e54711ca0834036c2ef369592012 Mon Sep 17 00:00:00 2001 From: sailor Date: Wed, 8 Jan 2020 20:28:24 +0100 Subject: [PATCH 6/9] fixed database column mixup --- src/db/db_mysql/conversions.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/db/db_mysql/conversions.rs b/src/db/db_mysql/conversions.rs index 9e96bd5..7bbc224 100644 --- a/src/db/db_mysql/conversions.rs +++ b/src/db/db_mysql/conversions.rs @@ -47,8 +47,8 @@ impl From for StationItem { tags: row.take_opt("Tags").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), country: row.take_opt("Country").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), countrycode: row.take_opt("CountryCode").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), - state: row.take_opt("Language").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), - language: row.take_opt("Subcountry").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), + state: row.take_opt("Subcountry").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), + language: row.take_opt("Language").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), votes: row.take_opt("Votes").unwrap_or(Ok(0)).unwrap_or(0), lastchangetime: row.take_opt("CreationFormated").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), homepage: row.take_opt("Homepage").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), @@ -75,8 +75,8 @@ impl From for StationHistoryItem { tags: row.take_opt("Tags").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), country: row.take_opt("Country").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), countrycode: row.take_opt("CountryCode").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), - state: row.take_opt("Language").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), - language: row.take_opt("Subcountry").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), + state: row.take_opt("Subcountry").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), + language: row.take_opt("Language").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), votes: row.take_opt("Votes").unwrap_or(Ok(0)).unwrap_or(0), lastchangetime: row.take_opt("CreationFormated").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), homepage: row.take_opt("Homepage").unwrap_or(Ok("".to_string())).unwrap_or("".to_string()), From 21c5c324637d7fe45f61855d3cb3f0b9eba354bb Mon Sep 17 00:00:00 2001 From: sailor Date: Wed, 8 Jan 2020 20:59:09 +0100 Subject: [PATCH 7/9] added prometheus docs --- static/docs.hbs | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/static/docs.hbs b/static/docs.hbs index fc11a36..ebf4279 100644 --- a/static/docs.hbs +++ b/static/docs.hbs @@ -39,6 +39,7 @@
  • Server stats
  • Server mirrors
  • +
  • Prometheus monitoring
  • + +
    +

    Prometheus monitoring

    +

    + Exporter for prometheus. It renders internal data about the server in a specific format that is readable by the time series database prometheus. +

    +
    +
    Syntax:
    +
    +
      +
    • {{ API_SERVER }}/metrics
    • +
    +
    +
    Result:
    +
    +
    +# HELP radio_browser_clicks_last_hour Clicks in the last hour
    +# TYPE radio_browser_clicks_last_hour gauge
    +radio_browser_clicks_last_hour 0
    +
    +# HELP radio_browser_stations_broken Count of stations that are broken
    +# TYPE radio_browser_stations_broken gauge
    +radio_browser_stations_broken 740
    +
    +# HELP radio_browser_stations_working Count of stations that are working/usable
    +# TYPE radio_browser_stations_working gauge
    +radio_browser_stations_working 26514
    +
    +# HELP radio_browser_stations_todo Count of stations that need are in the queue for checking
    +# TYPE radio_browser_stations_todo gauge
    +radio_browser_stations_todo 27254
    +
    +# HELP radio_browser_stations_deletable_never_worked Count of stations that are in the list for deletion and which never worked
    +# TYPE radio_browser_stations_deletable_never_worked gauge
    +radio_browser_stations_deletable_never_worked 0
    +
    +# HELP radio_browser_stations_deletable_were_working Count of stations that are in the list for deletion and which worked at some point
    +# TYPE radio_browser_stations_deletable_were_working gauge
    +radio_browser_stations_deletable_were_working 0
    +
    +
    + +
    Example:
    +
    From 2474ef258b7f304eea219af22eb81c8384900150 Mon Sep 17 00:00:00 2001 From: sailor Date: Wed, 8 Jan 2020 21:21:38 +0100 Subject: [PATCH 8/9] run as non root user in dockerfile --- Dockerfile | 14 +++++++++++--- radiobrowser.toml | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d8602c..a16e450 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,17 @@ RUN cargo build --release FROM ubuntu:bionic EXPOSE 8080 -RUN apt-get update && apt-get install -y libssl1.1 && rm -rf /var/lib/apt/lists/* +RUN groupadd -r radiobrowser && \ + useradd --no-log-init -r -g radiobrowser radiobrowser && \ + apt-get update && \ + apt-get install -y libssl1.1 && \ + rm -rf /var/lib/apt/lists/* && \ + mkdir -p /usr/lib/radiobrowser/static/ && \ + mkdir -p /var/log/radiobrowser/ && \ + chown -R radiobrowser:radiobrowser /var/log/radiobrowser/ COPY --from=0 /root/target/release/radiobrowser-api-rust /usr/bin/ -COPY --from=0 /root/static/ /root/static/ +COPY --from=0 /root/static/ /usr/lib/radiobrowser/static/ COPY --from=0 /root/radiobrowser.toml /etc/radiobrowser.toml -ENV STATIC_FILES_DIR=/root/static/ +ENV STATIC_FILES_DIR=/usr/lib/radiobrowser/static/ +USER radiobrowser:radiobrowser CMD [ "radiobrowser-api-rust", "-f", "/etc/radiobrowser.toml"] diff --git a/radiobrowser.toml b/radiobrowser.toml index 0fe700b..f4d18a4 100644 --- a/radiobrowser.toml +++ b/radiobrowser.toml @@ -4,7 +4,7 @@ database = "mysql://radiouser:password@localhost/radio" #static-files-dir = "/usr/local/share/radiobrowser" static-files-dir = "./static" ## Log file path -log-files-dir = "/var/log/radiobrowser/" +log-dir = "/var/log/radiobrowser/" ## Listening IP listen-host = "127.0.0.1" From 244dfcb11b3165d5ec5d21c68221c82073ae413f Mon Sep 17 00:00:00 2001 From: sailor Date: Wed, 8 Jan 2020 21:35:53 +0100 Subject: [PATCH 9/9] version 0.6.1 --- CHANGELOG.md | 9 +++++++++ Cargo.lock | 38 +++++++++++++++++++------------------- Cargo.toml | 2 +- docker-compose-traefik.yml | 2 +- docker-compose.yml | 2 +- 5 files changed, 31 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7f226c..db29fb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.6.1] 2020-01-08 +### Added +- Prometheus docs + ### Fixed - SQL error in endpoint /checks?seconds=x +- Database column mixup for state and language + +### Changed +- Run as non root user in docker by default ## [0.6.0] - 2020-01-06 ### Added diff --git a/Cargo.lock b/Cargo.lock index f62c3fb..7380ddc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,7 +93,7 @@ name = "backtrace-sys" version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.49 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -169,7 +169,7 @@ name = "brotli-sys" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.49 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -231,7 +231,7 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -600,12 +600,12 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -859,7 +859,7 @@ name = "libz-sys" version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.49 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -932,7 +932,7 @@ dependencies = [ [[package]] name = "mime" -version = "0.3.14" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -951,7 +951,7 @@ name = "mime_guess" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", + "mime 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "unicase 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1101,7 +1101,7 @@ version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cc 1.0.49 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1225,7 +1225,7 @@ version = "0.9.53" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "cc 1.0.49 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1462,7 +1462,7 @@ dependencies = [ [[package]] name = "radiobrowser-api-rust" -version = "0.6.0" +version = "0.6.1" dependencies = [ "av-stream-info-rust 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1536,7 +1536,7 @@ name = "rand" version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1579,7 +1579,7 @@ name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1710,7 +1710,7 @@ dependencies = [ "hyper 0.12.35 (registry+https://github.com/rust-lang/crates.io-index)", "hyper-tls 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", + "mime 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", "mime_guess 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2419,7 +2419,7 @@ dependencies = [ [[package]] name = "wasi" -version = "0.7.0" +version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -2530,7 +2530,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" "checksum bytes 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "10004c15deb332055f7a4a208190aed362cf9a7c2f6ab70a305fba50e1105f38" "checksum c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb" -"checksum cc 1.0.49 (registry+https://github.com/rust-lang/crates.io-index)" = "e450b8da92aa6f274e7c6437692f9f2ce6d701fb73bacfcf87897b3f89a4c20e" +"checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" "checksum chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "31850b4a4d6bae316f7a09e691c944c28299298837edc0a03f755618c23cbc01" "checksum chunked_transfer 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "498d20a7aaf62625b9bf26e637cf7736417cde1d0c99f1d04d1170229a85cf87" @@ -2574,7 +2574,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" "checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" "checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" -"checksum getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407" +"checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" "checksum gzip-header 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0131feb3d3bb2a5a238d8a4d09f6353b7ebfdc52e77bccbf4ea6eaa751dde639" "checksum h2 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" "checksum handlebars 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "af92141a22acceb515fb6b13ac59d6d0b3dd3437e13832573af8e0d3247f29d5" @@ -2611,7 +2611,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e" "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" "checksum mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ba626b8a6de5da682e1caa06bdb42a335aee5a84db8e5046a3e8ab17ba0a3ae0" -"checksum mime 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "dd1d63acd1b78403cc0c325605908475dd9b9a3acbf65ed8bcab97e27014afcf" +"checksum mime 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)" = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" "checksum mime_guess 1.8.7 (registry+https://github.com/rust-lang/crates.io-index)" = "0d977de9ee851a0b16e932979515c0f3da82403183879811bc97d50bd9cc50f7" "checksum mime_guess 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1a0ed03949aef72dbdf3116a383d7b38b4768e6f960528cd6a6044aa9ed68599" "checksum miniz_oxide 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6f3f74f726ae935c3f514300cc6773a0c9492abc5e972d42ba0c0ebb88757625" @@ -2768,7 +2768,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" "checksum walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e" "checksum want 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230" -"checksum wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d" +"checksum wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" "checksum website-icon-extract 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ddc1090853bc19e0ca456327a0e94afcb086379b5ab3aadf94f12e6cae8e6126" "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" diff --git a/Cargo.toml b/Cargo.toml index 094d076..671f06f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Radio-Browser Server with REST API" license = "agpl-3.0" name = "radiobrowser-api-rust" readme = "README.md" -version = "0.6.0" +version = "0.6.1" edition = "2018" [dependencies] diff --git a/docker-compose-traefik.yml b/docker-compose-traefik.yml index 114d36c..51fbc53 100644 --- a/docker-compose-traefik.yml +++ b/docker-compose-traefik.yml @@ -2,7 +2,7 @@ version: "3.2" services: api: build: ./ - image: segleralex/radiobrowser-api-rust:0.6.0 + image: segleralex/radiobrowser-api-rust:0.6.1 labels: - "traefik.enable=true" - "traefik.http.routers.api.rule=Host(`${SOURCE}`)" diff --git a/docker-compose.yml b/docker-compose.yml index f627bdc..a5c4d00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.0" services: api: build: ./ - image: segleralex/radiobrowser-api-rust:0.6.0 + image: segleralex/radiobrowser-api-rust:0.6.1 deploy: replicas: 1 networks: