Docker-compose quickstart distributions
See original GitHub issueAs has been suggested by several folk, maintaining some simple docker-compose definitions could be today’s version of a super-fast quickstart environment that is actually functional and representative.
That could enable us to start up a database with a more ‘prod’ type configuration than testcontainers, set up persistent volumes, etc.
Downside is that people would need docker to use that, but even Windows has docker these days, doesn’t it?
For those not familiar with docker-compose, it’s a simple definition file that lets you start up and manage multiple docker containers together with associated stuff like volumes, mounting files, etc.
So we could have something like docker-compose -f apiman-es.compose.yml up
(or whatever) and that would start all Apiman components, appropriate databases with sensible config, plus inject configuration files/mounts, volumes, etc…
Downsides would be that meddling with certain files would be harder, but we could potentially get around that by having them outside the docker image and using compose to mount them. And the usual Docker faff.
Discuss! Alternative thoughts welcome.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
First tasks:
Second tasks:
I think this is the way to go these days. Good and maintainable docker-compose files are easier to maintain and easier to use for the end-user. The advantage of docker-compose is also that you can switch very easily from “quickstart” to a "production " mode because the settings are mostly the same.