dotmesh-io / dotmesh

dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes
https://dotmesh.com
Apache License 2.0
538 stars 29 forks source link

Provide a command which gives you a docker-compose file for dotmesh #637

Open Godley opened 5 years ago

Godley commented 5 years ago

We're using dotmesh in 2 different ways - dm cluster init and in docker-compose files. We should supply a command which just spits out the docker-compose file for spinning up dotmesh so that there are fewer sources of config which we have to update any time variables and configuration are changed.

alaric-dotmesh commented 5 years ago

Three: the K8s operator also generates k8s "YAML" (although not encoded as such at the time) for dotmesh server. It'd be lovely to have a common source for all the basic parameters! No reason why a go package in the dotmesh repo can't have functions to return a list of env vars and volume mounts and ports, then functions on top of those to render them in k8s YAML / compose YAML / docker run command line args etc, with flags for environmental differences as needed.