Docker Compose: Create a Python Application with MongoDB

Docker Compose: Create a Python Application with MongoDB

Tiempo de lectura: 2 minutos Reading time: 2 minutes In this tutorial, I will show you how to use Docker Compose to create a Python application with MongoDB. Docker Compose is a tool that allows you to define and run multi-container Docker applications. Step 1: Install Docker and Docker Compose To use Docker Compose, you first need to have Docker … Read more

Adding Local Addresses in Nginx Proxy Manager Using Docker Container Domains in Docker Compose

Adding Local Addresses in Nginx Proxy Manager Using Docker Container Domains in Docker Compose

Tiempo de lectura: 2 minutos Reading time: 2 minutes When implementing Nginx Proxy Manager in Docker or Docker Compose, it is important to ensure that it accesses the implemented containers/services using a local address to avoid going through the public network if the connection is not SSL internally. This way, we prevent unencrypted traffic from going outside. The first thing … Read more

SSL Certificates (Let’s Encrypt) in Docker using Nginx Proxy Manager

SSL Certificates (Let’s Encrypt) in Docker using Nginx Proxy Manager

Tiempo de lectura: 3 minutos Reading Time: 3 minutes Today I’m going to show you how to add SSL certificates for HTTPS with Let’s Encrypt (Dovecot) in Docker or Docker Compose using Nginx Proxy Manager. It’s a straightforward process that allows you to add the certificate in a matter of minutes. It also automatically renews without any manual intervention. The … Read more

Instalar Docker-compose en ARM64v8

Tiempo de lectura: < 1 minuto Reading Time: < 1 minute To install Docker Compose on ARM64, you need to install it using pip. sudo pip3 install docker-compose If pip is not installed, you can install it with the following command: sudo apt install python3-pip If you need to install Docker, you can follow this step: https://devcodelight.com/desplegar-servidor-web-apache-con-docker-compose/ DevCodeLightdevcodelight.com

Add SSL (https) using Docker container (cerbot) Let’s Encrypt with Apache or Nginx with your domain or subdomain

Add SSL (https) using Docker container (cerbot) Let’s Encrypt with Apache or Nginx with your domain or subdomain

Tiempo de lectura: 3 minutos Reading time: 3 minutes Continuing with the tutorials on Docker (https://devcodelight.com/category/docker) and building upon the last post Creating a Docker Compose Container with Apache + PHP + MySQL (XAMPP with Docker) We can add a Docker container that allows us to add SSL using Certbot (https://hub.docker.com/r/certbot/certbot/), which is also compatible with Apache or Nginx (independent … Read more

Executing a Command in a Docker Compose Container Using the Ubuntu Console

Executing a Command in a Docker Compose Container Using the Ubuntu Console

Tiempo de lectura: 2 minutos Reading time: 2 minutes Continuing with the Docker tutorials, I will explain how we can execute a command inside a Docker container using the Ubuntu console. If we have this example Docker Compose taken from the tutorial Deploying Apache Web Server with PHP using Docker Compose version: “3” # Indicate the Docker Compose version we … Read more

Scripts to deploy Docker Compose

Scripts to deploy Docker Compose

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Today I bring you some scripts that can help us deploy our Docker Compose automatically. These scripts are programmed in Bash and can be used in Ubuntu (.sh) Script to deploy Docker Compose in the background #!/bin/bash # -*- ENCODING: UTF-8 -*- echo "Deploying Docker container" echo "1. Closing container ... Read more

Docker Compose Container with Apache + PHP + MySQL + PHPMyAdmin + Python (XAMP with PHPMyAdmin with Docker)

Docker Compose Container with Apache + PHP + MySQL + PHPMyAdmin + Python (XAMP with PHPMyAdmin with Docker)

Tiempo de lectura: 3 minutos Reading time: 3 minutes Continuing the tutorial series on Creating a Docker Compose Container with Apache + PHP + MySQL (XAMP with Docker), I’m going to show you how to create a Docker Compose file that includes Apache2, PHP, MySQL, Python, and PHPMyAdmin. Remember that you can use this code and containers for your projects, … Read more

Create a Docker Compose Container with Apache + PHP + MySQL (XAMPP with Docker)

Create a Docker Compose Container with Apache + PHP + MySQL (XAMPP with Docker)

Tiempo de lectura: 4 minutos Reading time: 4 minutes Continuing with the series of tutorials on Docker Compose and based on the latest Associating a Docker file to have a customized image (Apache + PHP + Python) within Docker Compose, we are going to create an XAMPP or LAMPP service that includes Apache2, PHP, and MySQL, leveraging Docker containers and … Read more