From adebf8b317b3fb785d94d48f53906b19c21fd99f Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Wed, 18 Sep 2024 19:45:25 -0400 Subject: [PATCH] update --- ...ve: Discord-Linux Automated Container Platform.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md index b57b35d..18a648b 100644 --- a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md +++ b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md @@ -410,7 +410,9 @@ Containers in Discord-Linux have a limited lifespan, typically lasting 7 days. U ### Automatic Cleanup -The system automatically checks for expired containers and removes them to ensure resources are not wasted on unused containers. Here’s a snippet of how the system determines whether a container has expired: +The system automatically checks for expired containers and removes them to ensure resources are not wasted on unused containers. + +Here’s a snippet of how the system determines whether a container has expired: ```javascript function isDateBeforeToday(date) { @@ -513,7 +515,9 @@ The bot executes commands inside Docker containers specific to each user, provid ### Command Handling Flow -The bot's `/x` command allows users to execute commands within their container. Here’s the general structure of how it works: +The bot's `/x` command allows users to execute commands within their container. + +Here’s the general structure of how it works: ```javascript module.exports = { @@ -1513,7 +1517,9 @@ module.exports = { ### REST Request for User Registration -The registration process sends a POST request to the NGINX Proxy Manager API to create a new user account. Here’s what the request looks like: +The registration process sends a POST request to the NGINX Proxy Manager API to create a new user account. + +Here’s what the request looks like: ```json POST http://internal-api/api/users