docker-adminer icon indicating copy to clipboard operation
docker-adminer copied to clipboard

Connect to elastic search db

Open bartoszkubicki opened this issue 5 years ago • 4 comments

I have something like this:

    adminer:
        image: adminer
        ports:
          - ${ADMINER_PORT}:8080

    elasticsearch:
        build: docker/dockerfile/elasticsearch
        ports:
            - ${ELASTICSEARCH_PORT}:9200
        volumes:
            - elasticsearch_data:/usr/share/elasticsearch/data
            - elasticsearch_config:/usr/share/elasticsearch/config

and plus some mysql container. Everthing is fine, I can easily connect to mysql container, but I can't figure out how to explore elastic search db - does it need any special docker coniguration?

bartoszkubicki avatar Apr 04 '19 08:04 bartoszkubicki

I have found it, sorry for spam.

bartoszkubicki avatar Apr 04 '19 08:04 bartoszkubicki

I have found it, sorry for spam.

Can you link or explain it for others that run across this issue? I believe that Elasticsearch should be working out of the box.

TimWolla avatar Apr 04 '19 10:04 TimWolla

Ok, actually, I have place where I choose other drivers, but I could not log into elasticsearch, as I don't know what are credentials to elasticsearch (I got as separate container). I have found that logic should be elastic and password changeme, but maybe it is wrong, or maybe host is incorrect?

Drivers are located in main screen when you enter adminer, in dropdown, MySQL is chosen by default.

@TimWolla If you know what these credentials can be (some defaults I think) or where they should be located (maybe I can find them somewhere in container),

bartoszkubicki avatar Apr 05 '19 16:04 bartoszkubicki

Is it possible you ran across this issue (while it's for MongoDB it might apply to ElasticSearch as well): https://github.com/TimWolla/docker-adminer/issues/16#issuecomment-482114280?

TimWolla avatar Apr 11 '19 13:04 TimWolla