---
title: "Discussion on \"Methods to enable environments in Docker Compose\" | Hashnode"
description: "Discussion on \"Methods to enable environments in Docker Compose\". In this blog post I'll show two methods how to enable different environments in Docker Compose and which of them I prefer most.\nI use Docker Compose when I need to run a multi-container Docker application.\nOften I need to have different setups for di..."
url: "https://hashnode.com/posts/methods-to-enable-environments-in-docker-compose/62d6d916d3af5e3713d60aa2"
---

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

Discussion

# [Methods to enable environments in Docker Compose](https://shes.hashnode.dev/methods-to-enable-environments-in-docker-compose?utm_source=hashnode&utm_medium=feed)

In this blog post I'll show two methods how to enable different environments in Docker Compose and which of them I prefer most. I use Docker Compose when I need to run a multi-container Docker application. Often I need to have different setups for di...

Jul 19, 2022 · 3 min read · shes.hashnode.dev  
Read the article

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

## Written by

[shes](https://hashnode.com/@shes)

@shes

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

Machine Learning engineer with some interest in backend development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
