---
title: "Discussion on \"Run Multi-container apps with Docker  Compose\" | Hashnode"
description: "Discussion on \"Run Multi-container apps with Docker  Compose\". Containerization of apps is a fast-growing practice as many companies are embracing the cloud and DevOps concepts. Docker packages an application, libraries, and its dependencies in a virtual container that can run on any server. Being that most appl..."
url: "https://hashnode.com/posts/run-multi-container-apps-with-docker-compose/60ba68d4fffc4c13b9cd4c2b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Run Multi-container apps with Docker Compose](https://hashnode.com/post/run-multi-container-apps-with-docker-compose?utm_source=hashnode&utm_medium=feed)

Containerization of apps is a fast-growing practice as many companies are embracing the cloud and DevOps concepts. Docker packages an application, libraries, and its dependencies in a virtual container that can run on any server. Being that most appl...

Jun 4, 2021 · 2 min read · hashnode.com  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#devops](https://hashnode.com/tag/devops)
-   [#docker](https://hashnode.com/tag/docker)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Chauntel Kellar](https://hashnode.com/@chauntelkellar)

@chauntelkellar · Phoenix, AZ

  
[View profile](https://hashnode.com/@chauntelkellar)

Pharmacist | DevOps Engineer

I'm currently learning Docker, Azure, and Python. When I'm not in cloud, I also love hiking, traveling, swimming, and working out.

## Responses 1

Markdown supported · ⌘↵ to post

[Bernardo Galvao](https://hashnode.com/@brnrdo)

[Dec 5, 2021](https://hashnode.com/posts/run-multi-container-apps-with-docker-compose/60ba68d4fffc4c13b9cd4c2b/comment/61aced18a375fb2266f3e7fd)

Hey, great primer!

But as a newb to docker-compose, I have a question about connecting the db to the ghost application. I guess it depends on the frontend application, but is it always the case that passing env variables to the frontend container the way to connect to the db container?

What could be other ways I may encounter?
