You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"[LIFERAY] The directory /mnt/liferay/deploy is ready. Copy files to \$(pwd)/xyz123/deploy on the host operating system to deploy modules to ${LIFERAY_PRODUCT_NAME} at runtime."
77
+
echo""
77
78
else
78
79
echo"[LIFERAY] The directory /mnt/liferay/deploy does not exist. Create the directory \$(pwd)/xyz123/deploy on the host operating system to create the directory ${LIFERAY_MOUNT_DIR}/deploy on the container. Copy files to \$(pwd)/xyz123/deploy to deploy modules to ${LIFERAY_PRODUCT_NAME} at runtime."
80
+
echo""
79
81
fi
80
82
81
-
if [ -z"${LIFERAY_OPENSEARCH_ENABLED}" ]
82
-
then
83
-
LIFERAY_OPENSEARCH_ENABLED="false"
84
-
85
-
echo"[LIFERAY] Set the environment variable \"LIFERAY_OPENSEARCH_ENABLED\" to \"true\" to enable OpenSearch 2."
echo"[LIFERAY] Run this container with the option \"--env LIFERAY_DOCKER_NETWORK_HOST_ADDRESSES=[\"http://es-node1:9201\",\"http://es-node2:9202\"]\" to enable the connection to the search engine."
88
+
echo""
89
+
fi
98
90
99
-
sed -i "s/com.liferay.portal.search.elasticsearch.cross.cluster.replication.impl//g""${blacklist_config_path}"
100
-
sed -i "s/com.liferay.portal.search.elasticsearch.monitoring.web//g""${blacklist_config_path}"
101
-
sed -i "s/com.liferay.portal.search.elasticsearch7.api//g""${blacklist_config_path}"
102
-
sed -i "s/com.liferay.portal.search.elasticsearch7.impl//g""${blacklist_config_path}"
103
-
sed -i "s/com.liferay.portal.search.learning.to.rank.api//g""${blacklist_config_path}"
104
-
sed -i "s/com.liferay.portal.search.learning.to.rank.impl//g""${blacklist_config_path}"
91
+
if [ -z"${LIFERAY_OPENSEARCH_ENABLED}" ]
92
+
then
93
+
LIFERAY_OPENSEARCH_ENABLED="false"
105
94
106
-
sed -i "s/\"\",\\\\//g""${blacklist_config_path}"
107
-
sed -i "s/\"\"\\\\//g""${blacklist_config_path}"
95
+
echo"[LIFERAY] Run this container with the option \"--env LIFERAY_OPENSEARCH_ENABLED=true\" to enable OpenSearch."
echo"[LIFERAY] Run this container with the option \"--env LIFERAY_DOCKER_OPENSEARCH_PASSWORD=yourOpeanSearchPassword\" to enable the OpenSearch connection."
0 commit comments