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

Websites with Free Resources You Can Use in Your Commercial Projects (No Royalties Required)

Websites with Free Resources You Can Use in Your Commercial Projects (No Royalties Required)

Tiempo de lectura: 2 minutos Reading time: 3 minutes When creating a commercial project, we often need resources such as images, sounds, or fonts. In this post, I bring you a compilation of my favorite websites where you can find free resources with a C00 license (public domain), which you can use for commercial purposes without paying any licenses or … Read more

Open Ports in Oracle Cloud

Open Ports in Oracle Cloud

Tiempo de lectura: 3 minutos Reading Time: 3 minutes Today, I’m going to show you how to open ports in Oracle Cloud (Create an Oracle Cloud account to get 2 free servers (always free)), Oracle’s VPS that offers always free instances with minimal but functional features for small projects. The first thing we need to do is log in to … 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

Associate a Docker file to have a custom image (Apache + PHP + Python) inside Docker Compose

Associate a Docker file to have a custom image (Apache + PHP + Python) inside Docker Compose

Tiempo de lectura: 3 minutos Reading time: 3 minutes Continuing with the post Deploy Apache Web Server with PHP using Docker Compose, we are going to learn how to associate a Dockerfile with a container defined in Docker Compose. A Dockerfile allows us to have a customized image by including commands within a Docker image. This allows us, for example, … Read more

Run a script on Ubuntu or Linux in the background (continues to run when you close the console)

Run a script on Ubuntu or Linux in the background (continues to run when you close the console)

Tiempo de lectura: < 1 minuto Sometimes we want to keep a script running on our Ubuntu or Linux machine, but we don’t have a system service created. With this command, we can keep this script running in the background even if we close the console. The first thing we need to do is install nohup (if it’s not already active … Read more

Animated Divs: Crushed Button Effect with HTML and CSS

Animated Divs: Crushed Button Effect with HTML and CSS

Tiempo de lectura: 2 minutos Reading time: < 1 minute Good afternoon, everyone! In today’s post, I’m going to share a cool animation with you. It demonstrates what you can achieve with simple div elements. <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <link rel=”stylesheet” href=”style.css” type=”text/css” /> <title>DevCodeLight</title> </head> <body> <div id=”m”><span>M</span></div> <div … Read more

Adding Commands to a Telegram Bot (Python)

Adding Commands to a Telegram Bot (Python)

Tiempo de lectura: 4 minutos Reading time: 3 minutes Following the previous day’s post How to Make a Telegram Bot (Python), we will complete this Python script to add command functionality to the bot. Commands are used to instruct the bot to perform specific functions. A command is written in the Telegram chat in the following format: /command Let’s make … Read more