• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question how to reach docker container with opensearch?

Isolde

New Pleskian
Server operating system version
Plesk Obsidian 18.0.70
Plesk version and microupdate number
18.0.70
Hello, I have Plesk Obsidian 18.x.x and I have created a docker container that runs OpenSearch. The container name is opensearch and has user admin and password (let's say it is mypassword123#) and manual mapping 9200 to 33136 (and more but I need the 9200 mainly). On my domain I have made a Docker Proxy Rule where it shows the right container name, port 9200 -> 33136 and my url. I have not checked "support websocket traffic" (but I have tried and it does not seem to make a difference).

On my command line I have tried various ways to reach the container and all have failed: I always get connection refused. Except for curl -XGET https://localhost:33136 -u admin:mypassword123# which gives me a "error:0A000126:SSL routines::unexpected eof while reading" which, so I read, is some sort of bug in Plesk with curl...

I found numerous tutorials on how to install docker and get docker containers running but nobody seems to be able to explain how to reach them or how to encorporate them. I want to install Magento using my opensearch with the following tags :

--opensearch-host=localhost:33136 --opensearch-username=admin --opensearch-password=mypassword123#

but the script will always end with: "Could not validate a connection to the OpenSearch. No alive nodes found in your cluster"

Any help would be appriciated. How do I reach the container? Is there an easier way?
 
Back
Top