MeshMage icon indicating copy to clipboard operation
MeshMage copied to clipboard

Is it possible to make a Dockerfile available?

Open geragcp opened this issue 4 years ago • 1 comments

Hi there!

I was just looking at the project and it looks really interesting to me. I was just wondering, since you are installing docker in step 1 and using postgress as a container, would it not be possible to deploy the app in a container as well?

Then the whole install could be completed with a simple "docker-compose up" command for example. Users would receive a consistent experience with correct versioning of dependencies, run it in Kubernetes, etc. Or maybe somebody has already done it.

Thanks for the hard work!

geragcp avatar Oct 16 '21 18:10 geragcp

Thanks for the suggestion!

I've got a first-round done on this, and this appears to work: https://github.com/symkat/MeshMage/commit/95f4158f60b2c21214aaa4e92779ee5968492789

If you have dex installed you should be able to say dex build and then dex docker start, or run the commands from the .dex file manually. Please let me know if you run into any issues -- so far I know you may need to start it twice as the first run of the webapp dies without the DB being present -- there is likely still some tweaking before I update the readme to make use of this.

symkat avatar Oct 23 '21 17:10 symkat