diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 6ca3004a..cb6e3a9b 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:$FULLTEXTSEARCH_PASSWORD@$FULLTEXTSEARCH_HOST:9200\",\"elastic_index\":\"nextcloud-aio\"}" + php /var/www/html/occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://$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 b87ee337..9e3b9cc4 100644 --- a/php/containers.json +++ b/php/containers.json @@ -113,8 +113,7 @@ "REDIS_PASSWORD", "NEXTCLOUD_PASSWORD", "TURN_SECRET", - "SIGNALING_SECRET", - "FULLTEXTSEARCH_PASSWORD" + "SIGNALING_SECRET" ], "volumes": [ { @@ -181,8 +180,7 @@ "INSTALL_LATEST_MAJOR=%INSTALL_LATEST_MAJOR%", "TALK_RECORDING_ENABLED=%TALK_RECORDING_ENABLED%", "RECORDING_SECRET=%RECORDING_SECRET%", - "TALK_RECORDING_HOST=nextcloud-aio-talk-recording", - "FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%" + "TALK_RECORDING_HOST=nextcloud-aio-talk-recording" ], "restart": "unless-stopped", "devices": [ @@ -503,7 +501,6 @@ "environment": [ "POSTGRES_HOST=nextcloud-aio-database", "TZ=%TIMEZONE%", - "FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%", "ES_JAVA_OPTS=-Xms512M -Xmx512M", "bootstrap.memory_lock=true", "cluster.name=nextcloud-aio", @@ -526,9 +523,6 @@ ], "networks": [ "nextcloud-aio" - ], - "secrets": [ - "FULLTEXTSEARCH_PASSWORD" ] } ]