docker-compose-rule - A JUnit rule to manage docker containers using docker-compose

  •        12

The code here started out as the end to end tests for one of our products. We needed to test this product in a variety of different configurations and environments which were mutually incompatible, thus multiple Docker Compose files were needed and so a simplistic model of running docker-compose up in Gradle was insufficient.For the most basic use simply add a DockerComposeRule object as a @ClassRule or @Rule in a JUnit test class.

https://github.com/palantir/docker-compose-rule

Tags
Implementation
License
Platform

   




Related Projects

docker-compose-ui - web interface for Docker Compose


Docker Compose UI is a web interface for Docker Compose. The aim of this project is to provide a minimal HTTP API on top of Docker Compose while maintaining full interoperability with Docker Compose CLI.

docker-compose-nodejs-examples - Finally some real world examples on getting started with Docker Compose and Nodejs


Docker Compose is an awesome tool for creating isolated development environments with Docker by using simple configurations with YAML. It's clean and easy enough to wrap your head around, even if you are new to Docker. Even though, the official website is lacking some practial, real world examples for getting started with Docker Compose and Nodejs. I hope the following real world examples will save you from some headache (like I had) while trying to figure out how to (pragmatically) use Docker Compose for your Nodejs apps.

kompose - Go from Docker Compose to Kubernetes


kompose is a tool to help users who are familiar with docker-compose move to Kubernetes. kompose takes a Docker Compose file and translates it into Kubernetes resources.kompose is a convenience tool to go from local Docker development to managing your application with Kubernetes. Transformation of the Docker Compose format to Kubernetes resources manifest may not be exact, but it helps tremendously when first deploying an application on Kubernetes.

vagrant-docker-compose - A Vagrant provisioner for docker compose.


A Vagrant provisioner for Docker Compose. Installs Docker Compose and can also bring up the containers defined by a docker-compose.yml.See example in the repository for a full working example.

docker-compose-files - Some typical docker compose templates.


Some typical docker compose examples. See Docker Compose Documentation.


compose - Define and run multi-container applications with Docker


Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration. To learn more about all the features of Compose see the list of features. Compose is great for development, testing, and staging environments, as well as CI workflows. You can learn more about each case in Common Use Cases.

app - Make your Docker Compose applications reusable, and share them on Docker Hub


An experimental utility to help make Compose files more reusable and sharable. Fundamentally, Compose files are not easy to share between concerns. Docker Application Packages aim to solve these problems and make Compose more useful for development and production.

prometheus - A docker-compose stack for Prometheus monitoring


Before we get started installing the Prometheus stack. Ensure you install the latest version of docker and docker swarm on your Docker host machine. Docker Swarm is installed automatically when using Docker for Mac or Docker for Windows.Clone the project locally to your Docker host.

aria2-ariang-x-docker-compose - Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai


Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai. 图形化BT,磁力,离线下载,并在线预览及下载。

example-voting-app - Example Docker Compose app


This is an example Docker app with multiple services. It is run with Docker Compose and uses Docker Networking to connect containers together. You will need Docker Compose 1.6 or later.

docker-symfony - Run a Symfony application using Docker & docker-compose


This is a complete stack for running Symfony 4 (latest version: Flex) into Docker containers using docker-compose tool. Next, put your Symfony application into symfony folder and do not forget to add symfony.dev in your /etc/hosts file.

compose2kube - Convert docker-compose service files to Kubernetes objects.


Convert docker-compose service files to Kubernetes objects.compose2kube is in functional beta stage and supports mapping container images, varables, ports, labels, volumes, and restart policies to Kubernetes replication controllers and services. Thanks to the docker/libcompose library, compose2kube will support the complete docker-compose specification in the near future.

dockerized-magento - A dockerized Magento Community Edition 1.9.x


If you are running on Mac OS or Windows you can install the Docker Toolbox which contains docker, docker-compose and docker-machine. The web-server will be bound to your local ports 80 and 443. In order to access the shop you must add a hosts file entry for dockerized-magento.local.

muguet - DNS Server & Reverse proxy for Docker - Compatible with docker-compose, boot2docker and docker-machine


When using Docker, it's sometimes a pain to access your containers using specific IPs/ports. Muguet provides you with a DNS Server that resolves auto-generated hostnames to your containers IPs, plus a Reverse Proxy to access all your web apps on port 80.

libcompose - An experimental go library providing Compose-like functionality


A Go library for Docker Compose. It does everything the command-line tool does, but from within Go -- read Compose files, start them, scale them, etc. Note: This is experimental and not intended to replace the Docker Compose command-line tool. If you're looking to use Compose, head over to the Compose installation instructions to get started with it.

Portainer - Simple management UI for Docker


Portainer is a lightweight management UI which allows you to easily manage your different Docker environments (Docker hosts or Swarm clusters). Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine (can be deployed as Linux container or a Windows native container). It allows you to manage your Docker containers, images, volumes, networks and more ! It is compatible with the standalone Docker engine and with Docker Swarm mode.

Swarm - Docker native clustering system


Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host. It is Docker's first container orchestration project that began in 2014. Combined with Docker Compose, it's a very convenient tool to schedule containers.

example-voting-app - Example Docker Compose app


Download Docker. If you are on Mac or Windows, Docker Compose will be automatically installed. On Linux, make sure you have the latest version of Compose.The app will be running at http://localhost:5000, and the results will be at http://localhost:5001.

dockprom - Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager


A monitoring solution for Docker hosts and containers with Prometheus, Grafana, cAdvisor, NodeExporter and alerting with AlertManager.Navigate to http://<host-ip>:3000 and login with user admin password admin. You can change the credentials in the compose file or by supplying the ADMIN_USER and ADMIN_PASSWORD environment variables on compose up.