Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Running a Multi-Container Application Using Docker Compose

DZone's Guide to

Running a Multi-Container Application Using Docker Compose

These videos give an introduction running an example application using Docker Compose.

· Integration Zone ·
Free Resource

How to Transform Your Business in the Digital Age: Learn how organizations are re-architecting their integration strategy with data-driven app integration for true digital transformation.

Running an application typically involves multiple processes whether that’s just an application server and database or multiple service implementations in a microservice architecture. Docker Compose provides a quick and easy mechanism to build, deploy, and run your application, whether locally on your system for development purposes or on a platform such as Docker Datacenter for production.

For the purposes of this example we have taken Docker’s example voting application and modified it so that the voting and results web applications are Java applications running on WebSphere Liberty. You can clone the updated application from GitHub and, assuming that you have Docker and Docker Compose installed, run it using the following simple commands:

git clone https://github.com/kavisuresh/example-voting-app.git
cd example-voting-app
docker-compose up

The following video gives an introduction to the example voting application and how it can be run using Docker Compose:


The following video talks about Docker Datacenter configuration and how the application can be run in Docker Datacenter using Docker Compose:


Make your mark on the industry’s leading annual report. Fill out the State of API Integration 2019 Survey and receive $25 to the Cloud Elements store.

Topics:
docker compose ,video ,docker ,web ,service ,datacenter

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}