New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Docker support #83
Comments
Totally agree that it would be cool to have Docker support for Wegue (applications). I also did some rough experiments on that. I started with a nginx base image. But did not come as far as I wanted (due to lack of time). Since I am not Docker expert I am totally open for other approaches and would be happy if you could come up with a suggestion / draft for a Dockerfile. |
Actually it was quite simple,lending from the official Vue.js Docker example, this is the entire
So what happens here is that first an Image is used for the Node production build ( This worked, and to run custom configs one can use Volume Mapping or build a derived Image overwriting the default config JSON. |
#83 add Dockerfile with some docu in README
Since this is very cool, I decided to release a new version v0.9.0 and build a Docker image based on this, which is available at DockerHub now: https://hub.docker.com/r/meggsimum/wegue Thanks for pushing this forward, @justb4! Very appreciated! |
Welcome! Glad to contribute. Tip: it is also always good to have a |
I just enabled it this morning. See https://hub.docker.com/r/meggsimum/wegue/tags |
#83 adapt README for DockerHub Image availability
Also given the configuration convention coming with Wegue, a
Dockerfile
that runs Wegue built for/in production mode would be beneficial to users. Especially re-using that Image for custom configs that may be applied via Docker Volume Mapping, directly (-v
) or through a Docker Compose file.A minimal Wegue
Dockerfile
will be the first step. Already tested with a minimally-sized (35MB) Image based onnode:lts-alpine
asbuilder
. Can do a PR for this as well.The text was updated successfully, but these errors were encountered: