To create this dev environment I’ll be using docker-compose in order to manage the whole environment with a single command. This environment can be run locally or remotely as only a shell connection is required.
To create this dev environment I’ll be using docker-compose in order to manage the whole environment with a single command. This environment can be run locally or remotely as only a shell connection is required.
A docker-compose.yaml file will be created to define all de system dependencies the application. Depending on the system architecture this file can be used to deploy in production, but usually this is not possible if we are using Kubernetes or Aws ECS in production.
In this example a simple Symfony app, that uses MySql and Elasticseach will be used.
Is quite possible that a project requires some external dependencies like Mysql, MariaDB, Redis, Memcached or Elasticsearch. Al this dependencies should be available in a simple way during development (and probably during CI/CD time).
Docker-compose us a Docker tool that allows to build, run and stop several containers with a single command. The needed config is in a single file in which is defined which images to use, exposed ports, environment variables…
Following the second video about Docker basics, in this video, I explain Docker architecture and explain the different building blocks of the docker engine; docker client, API, Docker Daemon. I also explain what a docker registry is and I finish the video with a demo explaining and illustrating how to use Docker hub.
This article is the second part of our exploration of Docker caching — if you haven’t already, check out the first part, where we introduced Docker layers and the caching mechanism. Let’s now have a look at Docker Compose and some of the challenges when using both Docker and Docker Compose at the same time. Sharing a Cached Layer Between Docker and Docker Compose Builds
In this post I will show you how to set up official Apache/Airflow with PostgreSQL and LocalExecutor using docker and docker-compose. In this post, I won’t be going through Airflow, what it is, and how it is used. Please check the official documentation for more information about that.
In this blog, we will learn what is docker-compose and how we can deploy a tomcat application which uses mysql database. We will learn how we can setup a development environment using docker-compose in a single command
Setting up NodeJS with MongoDB using Docker and Docker Compose - Learn about Docker and how to spin up a Docker orchestration for your development environment so, that way, you don't have to install MongoDB, you can just r...