diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 446dab30..6ca3004a 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -677,7 +677,7 @@ if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then php /var/www/html/occ app:update files_fulltextsearch fi php /var/www/html/occ fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform"}' - php /var/www/html/occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://elastic:$ELASTIC_PASSWORD@$FULLTEXTSEARCH_HOST:9200\",\"elastic_index\":\"nextcloud-aio\"}" + php /var/www/html/occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://elastic:$FULLTEXTSEARCH_PASSWORD@$FULLTEXTSEARCH_HOST:9200\",\"elastic_index\":\"nextcloud-aio\"}" php /var/www/html/occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}" # Do the index diff --git a/php/containers.json b/php/containers.json index b66d4612..b87ee337 100644 --- a/php/containers.json +++ b/php/containers.json @@ -114,7 +114,7 @@ "NEXTCLOUD_PASSWORD", "TURN_SECRET", "SIGNALING_SECRET", - "ELASTIC_PASSWORD" + "FULLTEXTSEARCH_PASSWORD" ], "volumes": [ { @@ -182,7 +182,7 @@ "TALK_RECORDING_ENABLED=%TALK_RECORDING_ENABLED%", "RECORDING_SECRET=%RECORDING_SECRET%", "TALK_RECORDING_HOST=nextcloud-aio-talk-recording", - "ELASTIC_PASSWORD=%ELASTIC_PASSWORD%" + "FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%" ], "restart": "unless-stopped", "devices": [ @@ -503,7 +503,7 @@ "environment": [ "POSTGRES_HOST=nextcloud-aio-database", "TZ=%TIMEZONE%", - "ELASTIC_PASSWORD=%ELASTIC_PASSWORD%", + "FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%", "ES_JAVA_OPTS=-Xms512M -Xmx512M", "bootstrap.memory_lock=true", "cluster.name=nextcloud-aio", @@ -528,7 +528,7 @@ "nextcloud-aio" ], "secrets": [ - "ELASTIC_PASSWORD" + "FULLTEXTSEARCH_PASSWORD" ] } ]