remove FTS_PASSWORD again

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-07-19 14:09:49 +02:00
parent 443fb67465
commit e4f68f7636
2 changed files with 3 additions and 9 deletions

View file

@ -677,7 +677,7 @@ if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then
php /var/www/html/occ app:update files_fulltextsearch php /var/www/html/occ app:update files_fulltextsearch
fi fi
php /var/www/html/occ fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform"}' 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\"}" php /var/www/html/occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}"
# Do the index # Do the index

View file

@ -113,8 +113,7 @@
"REDIS_PASSWORD", "REDIS_PASSWORD",
"NEXTCLOUD_PASSWORD", "NEXTCLOUD_PASSWORD",
"TURN_SECRET", "TURN_SECRET",
"SIGNALING_SECRET", "SIGNALING_SECRET"
"FULLTEXTSEARCH_PASSWORD"
], ],
"volumes": [ "volumes": [
{ {
@ -181,8 +180,7 @@
"INSTALL_LATEST_MAJOR=%INSTALL_LATEST_MAJOR%", "INSTALL_LATEST_MAJOR=%INSTALL_LATEST_MAJOR%",
"TALK_RECORDING_ENABLED=%TALK_RECORDING_ENABLED%", "TALK_RECORDING_ENABLED=%TALK_RECORDING_ENABLED%",
"RECORDING_SECRET=%RECORDING_SECRET%", "RECORDING_SECRET=%RECORDING_SECRET%",
"TALK_RECORDING_HOST=nextcloud-aio-talk-recording", "TALK_RECORDING_HOST=nextcloud-aio-talk-recording"
"FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%"
], ],
"restart": "unless-stopped", "restart": "unless-stopped",
"devices": [ "devices": [
@ -503,7 +501,6 @@
"environment": [ "environment": [
"POSTGRES_HOST=nextcloud-aio-database", "POSTGRES_HOST=nextcloud-aio-database",
"TZ=%TIMEZONE%", "TZ=%TIMEZONE%",
"FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%",
"ES_JAVA_OPTS=-Xms512M -Xmx512M", "ES_JAVA_OPTS=-Xms512M -Xmx512M",
"bootstrap.memory_lock=true", "bootstrap.memory_lock=true",
"cluster.name=nextcloud-aio", "cluster.name=nextcloud-aio",
@ -526,9 +523,6 @@
], ],
"networks": [ "networks": [
"nextcloud-aio" "nextcloud-aio"
],
"secrets": [
"FULLTEXTSEARCH_PASSWORD"
] ]
} }
] ]