question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker-compose quickstart distributions

See original GitHub issue

As 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.

@apiman/api-developers

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
volkflocommented, Jun 16, 2021

First tasks:

  • Include Dockerfiles for tomcat and vert.x
  • Provide Docker-Compose Quickstart for Keycloak, Manager, Gateway with Postgres DB
  • Easy configuration with env file and file mounting documentation

Second tasks:

  • Inlcude elasticsearch and kibana for metrics
  • Plugins in the docker images
  • New docker repositories on docker hub and ghcr
1reaction
volkflocommented, Jun 1, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Quick Guide to Using Docker Compose - Linux Handbook
Here's a quick start guide to Docker Compose. ... Docker Compose is readily available in most distributions repositories.
Read more >
Control startup and shutdown order in Compose
You can control the order of service startup and shutdown with the depends_on option. Compose always starts and stops containers in dependency order,...
Read more >
How to Use Docker Compose - Linode
Open docker-compose.yml in a text editor and add the following content: · Save the file and run Docker Compose from the same directory:...
Read more >
Quickstart with docker-compose - django-ca's documentation!
Docker -compose needs a configuration file, docker-compose.yml . You can also download the file for other versions from github. Note. Because of how...
Read more >
How To Install and Use Docker Compose on Ubuntu 22.04
Docker Compose is a tool that allows you to run multi-container application environments based on definitions set in a YAML file.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found