Closed kent57 closed 9 months ago
BTW: When I use docker desktop, from the shell, I am able to reach http://conceravtivesearch.info:8888" no problem. could this be a Linux issue? Could it by my Apache http config? I don't know... excerpt from httpd.conf: #####################################################################################################
##################################################################################################### <VirtualHost 23.111.155.149:80> ServerName conservativesearch.info ServerAlias www.conservativesearch.info
ServerAdmin webmaster@conservativesearch.info
UseCanonicalName Off
#ProxyPass "/solr/" "http://conservativesearch.info:8983"
#ProxyPassReverse "/solr/" "http://conservativesearch.info:8983"
ProxyPass "/" "http://conservativesearch.info:38144/"
ProxyPassReverse "/" "http://conservativesearch.info:38144/"
<VirtualHost 23.111.155.149:443> ServerName conservativesearch.info ServerAlias www.conservativesearch.info
ServerAdmin webmaster@conservativesearch.info
UseCanonicalName Off
ProxyPass "/" "http://conservativesearch.info:38144/"
ProxyPassReverse "/" "http://conservativesearch.info:38144/"
SSLEngine on
SSLCertificateFile /var/cpanel/ssl/apache_tls/conservativesearch.info/combined
#####################################################################################################
I have SOLR running on my host 127.0.0.1:8983 using a custom index. I am running the docker container: docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 63178567f074 searxng/searxng:latest "/sbin/tini -- /usr/…" About an hour ago Up About an hour 0.0.0.0:38144->8080/tcp, :::38144->8080/tcp searxng 43ed6fa7e57f redis:alpine "docker-entrypoint.s…" About an hour ago Up About an hour 0.0.0.0:6379->6379/tcp, :::6379->6379/tcp redis
I have the modified settings.yml , docker-compose.yaml, and solr.py files. Docker Files.zip
PROBLEM: Solr is up, running and resounds to queries. Docker container is up and running. When I shell into the container and perform: wget "http://conservativesearch.info:8983" - the container is unable to connect to port 8983. I have tried all of the Google documents I could find about connecting the contain to an eternal host, etc. but nothing worked for me. I am new to docker but I can manage to do the basics... At this point, my conclusion is that the container cannot connect to port 8983. If I caould resolve that, solr can be exposed in the container and my solr.py search should work. .