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

  •        19

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

testcontainers-java - Testcontainers is a Java 8 library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container

  •    Java

Testcontainers is a Java 8 library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. See LICENSE.

docker-compose-ui - web interface for Docker Compose

  •    Javascript

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

  •    Javascript

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

  •    Go

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.

  •    Ruby

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.

  •    Go

Some typical docker compose examples. See Docker Compose Documentation.

compose - Define and run multi-container applications with Docker

  •    Python

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.

kafka-stack-docker-compose - docker compose files to create a fully working kafka stack

  •    Shell

This replicates as well as possible real deployment configurations, where you have your zookeeper servers and kafka servers actually all distinct from each other. This solves all the networking hurdles that comes with Docker and docker-compose, and is compatible cross platform. This configuration fits most development requirements.

vulhub - Pre-Built Vulnerable Environments Based on Docker-Compose

  •    Shell

Vulhub is an open-source collection of pre-built vulnerable docker environments. No pre-existing knowledge of docker is required, just execute two simple commands and you have a vulnerable environment. The installation steps of docker and docker-compose for others operating system might be slightly different, please refer to the docker documentation for details.

ambientum - Docker native solution for running Laravel projects. From Development to Production

  •    Shell

Keeping it uniform between development, staging and production environments is often something not easy. On the last years, our buddy Docker has become more and more mature and now it's becoming the standard. Docker compose shipped with Docker is usually very old. Please have the latest version installed from Github at https://github.com/docker/compose/releases.

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

  •    Go

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.

docker-elk - The ELK stack powered by Docker and Compose.

  •    Dockerfile

Run the latest version of the Elastic stack with Docker and Docker Compose. It will give you the ability to analyze any data set by using the searching/aggregation capabilities of Elasticsearch and the visualization power of Kibana.

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

  •    Javascript

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-compose-rails-dev-example - A Docker compose project example I use to develop rails apps with Docker

  •    Ruby

This is an example of how I use Docker and Docker Compose to develop my rails apps. It is an ideal project setup for new and experienced developers alike, and allows to a nearly trouble-free environment setup in their development machines.

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.

nodock - Docker Compose for Node projects with Node, MySQL, Redis, MongoDB, NGINX, Apache2, Memcached, Certbot and RabbitMQ images

  •    Shell

The docker Node.js image is very simple, you give it an entrypoint and it runs it. This is fine for very simple/small scripts but for larger projects you'll probably want something a bit more robust. The goal of NoDock is to provide a complete environment for your node project: Node.js service(s), databases, web servers, queues, etc. while doing the "wiring" for you.

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

  •    Go

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

  •    Shell

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.