feat(docker): adds default theme config option, increment alphine version (merge pull request #167 from codedipper/docker1)

feat(docker): default theme config opt, update(Dockerfile): increment Alpine version
This commit is contained in:
Ahwx
2024-07-04 11:18:49 +00:00
committed by GitHub
5 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM alpine:3.19
FROM alpine:3.20
WORKDIR "/var/www/html"
+1
View File
@@ -9,6 +9,7 @@
"number_of_results" => 10,
// The default theme css to use
// use `ls --ignore={styles,auto}.css static/css | cut -d. -f1` to list valid themes
"default_theme" => "dark",
// You can use any Invidious instance here
+1
View File
@@ -105,6 +105,7 @@ This Docker image was developed with high configurability in mind, so here is th
| CONFIG_CACHE_TIME | 20 | integer | Time in minutes to store results for in the cache. |
| CONFIG_DISABLE_API | false | boolean | Disable requests to /api.php |
| CONFIG_SHOW_RESULT_SOURCE | true | boolean | Whether to show where the result is from on the results page |
| CONFIG_DEFAULT_THEME | "dark" | "nord", "darker", "discord" | The default theme for users without cookies or request parameters set. |
### Frontends
+1
View File
@@ -31,6 +31,7 @@ export CONFIG_RATE_LIMIT_COOLDOWN="${CONFIG_RATE_LIMIT_COOLDOWN:-25}"
export CONFIG_CACHE_TIME="${CONFIG_CACHE_TIME:-20}"
export CONFIG_DISABLE_API="${CONFIG_DISABLE_API:-false}"
export CONFIG_SHOW_RESULT_SOURCE="${CONFIG_SHOW_RESULT_SOURCE:-true}"
export CONFIG_DEFAULT_THEME=${CONFIG_DEFAULT_THEME:-"dark"}
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librey
+1
View File
@@ -13,6 +13,7 @@
"cache_time" => ${CONFIG_CACHE_TIME},
"disable_api" => ${CONFIG_DISABLE_API},
"show_result_source" => ${CONFIG_SHOW_RESULT_SOURCE},
"default_theme" => "${CONFIG_DEFAULT_THEME}",
"frontends" => array(
"invidious" => array(