Open daadu opened 2 years ago
sure, send a PR
@rojer Can you give an idea what are these volumes for?
- /var/tmp/fwbuild-volumes:/var/tmp/fwbuild-volumes
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/acme-challenge:/acme-challenge
also is docker socket mandatory - does the service require docker? can the other 2 volumes be ephemeral?
fwbuild-volumes is where all the build directories go. docker socket is required because the manager itself starts docker containers for builds. acme-challene is for letsencrypt certificate provisioning.
While current docker-compose is great for local/small setup, it is not useful for production setup - like in k8s cluster. I recommend having a helm chart that can be used to easily deploy build server.
If the mongoose-os team is ok with it, I would like to contribute to this.