Tag devops

Networks in Docker Compose

1 LenHPdQp83DDrATdXOYhyw

Introduction When you run docker-compose up, Docker Compose creates a default network for your app. It’s named after your project (usually the directory with your docker-compose.yml file) with the suffix _default. This network lets all the services in your docker-compose.yml…

Environment Variable in Docker Compose

1 4cBkXS2zRiPxoEjSwV8Hbw

Introduction Environment variables are a powerful feature in Docker Compose that enables dynamic configuration of your applications. By using environment variables, you can easily manage sensitive information, adjust configurations for different environments, and enhance the portability of your Docker setups.…