diff --git a/README.md b/README.md index 38d5192..98c8a31 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ To run librex in a docker container, you can simply use the command: docker run -d --name librex \ -e TZ="America/New_York" \ -e CONFIG_GOOGLE_DOMAIN="com" \ - -e CONFIG_GOOGLE_LANGUAGUE="en" \ + -e CONFIG_GOOGLE_LANGUAGE="en" \ -p 8080:8080 \ librex/librex:latest ``` @@ -72,7 +72,7 @@ services: - VERSION=docker - TZ="America/New_York" - CONFIG_GOOGLE_DOMAIN="com" - - CONFIG_GOOGLE_LANGUAGUE="en" + - CONFIG_GOOGLE_LANGUAGE="en" volumes: - ./nginx_logs:/var/log/nginx - ./php_logs:/var/log/php7 diff --git a/docker/README.md b/docker/README.md index 8152d8b..adc3b97 100644 --- a/docker/README.md +++ b/docker/README.md @@ -26,7 +26,7 @@ To run librex in a docker container, you can simply use the command: docker run -d --name librex \ -e TZ="America/New_York" \ -e CONFIG_GOOGLE_DOMAIN="com" \ - -e CONFIG_GOOGLE_LANGUAGUE="en" \ + -e CONFIG_GOOGLE_LANGUAGE="en" \ -p 8080:8080 \ librex/librex:latest ``` @@ -50,7 +50,7 @@ services: - VERSION=docker - TZ="America/New_York" - CONFIG_GOOGLE_DOMAIN="com" - - CONFIG_GOOGLE_LANGUAGUE="en" + - CONFIG_GOOGLE_LANGUAGE="en" volumes: - ./nginx_logs:/var/log/nginx - ./php_logs:/var/log/php7 @@ -82,7 +82,7 @@ This docker image was developed with high configurability in mind, so here is th | Variables | Default | Examples | Description | |:----------|:-------------|:---------|:------| | CONFIG_GOOGLE_DOMAIN | "com" | "com", "com.br", "com.es" | Defines which Google domain the search will be done, change according to your country | -| CONFIG_GOOGLE_LANGUAGUE | "en" | "pt", "es", "ru" | Defines the language in which searches will be done, see the list of supported languages [here](https://developers.google.com/custom-search/docs/ref_languages). | +| CONFIG_GOOGLE_LANGUAGE | "en" | "pt", "es", "ru" | Defines the language in which searches will be done, see the list of supported languages [here](https://developers.google.com/custom-search/docs/ref_languages). | | CONFIG_INVIDIOUS_INSTANCE | "https://invidious.namazso.eu" | string | Defines the host that will be used to do video searches using invidious | | CONFIG_HIDDEN_SERVICE_SEARCH | false | boolean | Defines whether safesearch will be enabled or disabled | | CONFIG_DISABLE_BITTORRENT_SEARCH | false | boolean | Defines whether bittorrent support will be enabled or disabled | @@ -148,7 +148,7 @@ docker build https://github.com/hnhx/librex.git -t librex:latest ```sh docker run -d --name librex \ -e CONFIG_GOOGLE_DOMAIN="com" \ - -e CONFIG_GOOGLE_LANGUAGUE="en" \ + -e CONFIG_GOOGLE_LANGUAGE="en" \ -p 8080:8080 \ librex:latest ``` diff --git a/docker/attributes.sh b/docker/attributes.sh index db05452..012c7c2 100755 --- a/docker/attributes.sh +++ b/docker/attributes.sh @@ -20,7 +20,7 @@ export OPEN_SEARCH_HOST=${OPEN_SEARCH_HOST:-"127.0.0.1"} # Replace the 'config.php' script, which contains the most common search engine configurations, with these environment setups # These environment setups can be found in 'config.php', and the default configurations can be useful for most use cases export CONFIG_GOOGLE_DOMAIN=${CONFIG_GOOGLE_DOMAIN:-".com"} -export CONFIG_GOOGLE_LANGUAGUE=${CONFIG_GOOGLE_LANGUAGUE:-"en"} +export CONFIG_GOOGLE_LANGUAGE=${CONFIG_GOOGLE_LANGUAGE:-"en"} export CONFIG_INVIDIOUS_INSTANCE=${CONFIG_INVIDIOUS_INSTANCE:-"invidious.namazso.eu"} export CONFIG_HIDDEN_SERVICE_SEARCH=${CONFIG_HIDDEN_SERVICE_SEARCH:-false} export CONFIG_DISABLE_BITTORRENT_SEARCH=${CONFIG_DISABLE_BITTORRENT_SEARCH:-false} diff --git a/docker/php/config.php b/docker/php/config.php index a341396..ded967d 100644 --- a/docker/php/config.php +++ b/docker/php/config.php @@ -1,7 +1,7 @@ "${CONFIG_GOOGLE_DOMAIN}", - "google_language" => "${CONFIG_GOOGLE_LANGUAGUE}", + "google_language" => "${CONFIG_GOOGLE_LANGUAGE}", "invidious_instance_for_video_results" => "${CONFIG_INVIDIOUS_INSTANCE}", "disable_bittorent_search" => ${CONFIG_DISABLE_BITTORRENT_SEARCH}, diff --git a/docker/php/php.dockerfile b/docker/php/php.dockerfile index bb1287a..403918a 100644 --- a/docker/php/php.dockerfile +++ b/docker/php/php.dockerfile @@ -12,7 +12,7 @@ ENV OPEN_SEARCH_HOST="http://127.0.0.1:${NGINX_PORT}" # Replace the 'config.php' script, which contains the most common search engine configurations, with these environment setups # These environment setups can be found in 'config.php', and the default configurations can be useful for most use cases ENV CONFIG_GOOGLE_DOMAIN="com" -ENV CONFIG_GOOGLE_LANGUAGUE="en" +ENV CONFIG_GOOGLE_LANGUAGE="en" ENV CONFIG_INVIDIOUS_INSTANCE="https://invidious.namazso.eu" ENV CONFIG_HIDDEN_SERVICE_SEARCH=false ENV CONFIG_DISABLE_BITTORRENT_SEARCH=false