Migrate a Docker Compose to Kubernetes

Migrate a Docker Compose to Kubernetes

Tiempo de lectura: 5 minutos Today, we’re going to learn, with an example, how to migrate a Docker Compose (https://www.docker.com/) setup to Kubernetes (https://kubernetes.io/). First, let me explain what the two mentioned technologies are: Docker Compose: Docker Compose is a tool that allows you to define and run multi-container Docker applications. With Docker Compose, you can describe the entire configuration … Read more

Add a Discord webhook to the Ofelia Docker container

Add a Discord webhook to the Ofelia Docker container

Tiempo de lectura: < 1 minuto Today, we’ll learn how to set up Ofelia to notify us via Discord about the executions of the Jobs it performs. The Ofelia container (https://github.com/mcuadros/ofelia) allows us to automate tasks with cron among our Docker containers. I find it very useful as it enables us to quickly save and replicate a Cron configuration in our … Read more

Notify via a webhook, in this case Discord, when ClamAV detects an infected file.

Notify via a webhook, in this case Discord, when ClamAV detects an infected file.

Tiempo de lectura: 2 minutos To set up notifications through Discord when ClamAV detects a virus, you can follow these general steps. Keep in mind that these steps are a guide and may require adjustments based on your specific environment and preferences. 1. Create a Discord Webhook: Open your Discord server and select the channel where you want to receive … Read more

Add ClamAV Antivirus for Analyzing Files and Docker Environments, Using Docker Compose

Add ClamAV Antivirus for Analyzing Files and Docker Environments, Using Docker Compose

Tiempo de lectura: 3 minutos ClamAV is an open-source program designed to detect viruses, malware, and other threats on Unix and Linux operating systems. Its name is an abbreviation of “Clam Antivirus.” Although it originated in the Linux environment, it is also compatible with other operating systems, including Windows and macOS. Here are some key aspects of ClamAV: Scanning Engine: … Read more

Create a Docker container that allows us to run Docker commands inside it.

Create a Docker container that allows us to run Docker commands inside it.

Tiempo de lectura: < 1 minuto Today, I bring you this tutorial born out of the need to execute Docker commands using the task scheduler Ofelia (https://devcodelight.com/automatizar-tareas-con-cron-desde-docker-con-ofelia) To execute Docker commands within a container that is running with Docker on a local machine, the first thing we need to do is add a Docker client to our container. To create the … Read more

Clean up unused Docker image space

Clean up unused Docker image space

Tiempo de lectura: < 1 minuto Today we will learn how to free up disk space from unused images with Docker. Before cleaning the images, you can use the following command to see how much space can be freed: docker system df This command will display a summary of the space used by different Docker resource categories, such as images, containers, … Read more

Using Llama-2 with Python and ARM64 or AMD64 Environment in a Docker Compose Container.

Using Llama-2 with Python and ARM64 or AMD64 Environment in a Docker Compose Container.

Tiempo de lectura: 2 minutos Hello, today we are going to learn how to deploy llama-2 on a server with an ARM64 environment, such as an Ampere 1 offered by Oracle Cloud. It’s worth noting that it’s also compatible with AMD64. The program in question is called LlaMA C++ and is available for multiple environments: In our case, we are … Read more

Blocks IPs using Nginx Proxy Manager

Blocks IPs using Nginx Proxy Manager

Tiempo de lectura: 2 minutos Hello, today we are going to learn how to block IPs, for example, Bots on the internet using Nginx Proxy Manager. Nginx Proxy Manager is a graphical interface that simplifies the management of proxy servers and the configuration of Nginx. Through this interface, you can set up blocking rules for specific IP addresses. To configure … Read more

Fixing POST Content-Length Exceeds Bytes Issue in PHP when Uploading a MySQL Backup with Docker PHPMyAdmin

Fixing POST Content-Length Exceeds Bytes Issue in PHP when Uploading a MySQL Backup with Docker PHPMyAdmin

Tiempo de lectura: < 1 minuto Here’s the content translated into English and formatted in HTML: html Copy code Reading Time: < 1 minute Hello, today we are going to solve the problem “Warning: POST Content–Length of X bytes exceeds the limit of X bytes in Unknown on line 0″ that prevents us from uploading .sql copies to our PHPMyAdmin. In … Read more

Backup MySQL or MariaDB with Ofelia (cron) and Docker.

Backup MySQL or MariaDB with Ofelia (cron) and Docker.

Tiempo de lectura: 2 minutos Sure! Here’s the translated content in HTML format without any additional text: html Copy code Reading time: 2 minutes Hello, today we are going to learn how we can create a backup of MySQL or MariaDB using Ofelia to schedule cron tasks with Docker or Docker Compose. The first thing we are going to do … Read more