TimWolla / docker-adminer

Database management in a single PHP file
https://hub.docker.com/_/adminer/
157 stars 69 forks source link

Connect to elastic search db #51

Open bartoszkubicki opened 5 years ago

bartoszkubicki commented 5 years ago

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 commented 5 years ago

I have found it, sorry for spam.

TimWolla commented 5 years ago

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.

bartoszkubicki commented 5 years ago

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),

TimWolla commented 5 years ago

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?