appbaseio/mirage

Official Docker

jalberto opened this issue · 8 comments

Will be great to have an official docker image for mirage, eg:

https://github.com/lmenezes/elasticsearch-kopf/tree/master/docker

@jalberto That's a good suggestion.

I can create a Dockerfile and docker-compose.yml file for the project.

@siddharthlatest
Can I ask, is this dockerized version intended to be an alternative to installing it as a plugin? As per #35, I was having trouble installing it on v5 of ES.

@hkulekci
I can see the Dockerfile, as part of the CMD uses --host=0.0.0.0 .. am I right in understanding that this should point to the host where ES is running? Does it need to be running on the same machine as this container? Do you tend to run up this container as part of a larger docker-compose file that includes ES containers too ... and do any form of linkage or ensure they are on the same network?

Also, is it possible to use your approach to containerize appbaseio/dejavu too?

Thanks.

@Analect --host parameter doesn't mention ES host. It actually mentions node server ip address. By default, it points to your containers localhost. If you want to change, you can set. For development environment, it is not necessary. Also, I think, you will use your dist folder for production, not your node server or npm environment.

On the other hand, Mirage provide a interface to set a host address from mirage interface(no need any configuration). For this reason, your mirage interface can work if you are in same network with your elasticsearch cluster.

Thanks @hkulekci
Just a quick follow-up ... have you tried to containerize dejavu in the same way. Do you see any obstacles to taking the same approach as you've done in here?

please check the pr for dejavu appbaseio/dejavu#49 @Analect

Thanks alot @hkulekci