Рет қаралды 219
Learn how to send an email from a Gmail account that contains user activity and errors from Nginx using Cron and Docker Compose. We will also learn about best practices when it comes to multiple processes in a Docker container, how Cron loads environment variables, and more.
💻 My Software 💻
My Chrome Extension WittCepter - chromewebstore.google.com/det...
📚 My Courses 📚
courses.wittcode.com
👩💻 Download Code 👨💻
blog.wittcode.com
⌛ Timestamps ⌛
0:00 - Introduction
0:10 - Project Demonstration
0:42 - Multiple Processes in a Docker Container
1:08 - Environment Variable Setup
1:33 - Creating a Cron Job to Send an Email
3:49 - What is an App Password?
4:19 - Generating an App Password
4:50 - Creating the Cron Docker Image
6:42 - Creating the Nginx Docker Image
7:37 - Nginx Access and Error Logs
9:27 - Creating Cron Service with Docker Compose
10:24 - Running the Program
12:21 - Outro