From fd20b088e4a286500f0bc62b3cea6d807f553d69 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Thu, 19 Sep 2024 01:10:33 -0400 Subject: [PATCH] update --- .../Deep Dive: Discord-Linux Automated Container Platform.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md index f4c1912..f76ead1 100644 --- a/markdown/Deep Dive: Discord-Linux Automated Container Platform.md +++ b/markdown/Deep Dive: Discord-Linux Automated Container Platform.md @@ -237,7 +237,7 @@ Additionally, the script incorporates MySQL (`mysql2`) to interact with a databa #### Handling Randomness Network Selection -The script uses a helper function `randomIntFromInterval` to generate random integers within a specified range. This randomness plays a critical role in assigning ports (`rand1`, `rand2`) and selecting a random network from a predefined list (`networkNames`). These random values help in dynamically configuring Docker containers and ensuring that no two containers accidentally use the same ports or networks. +The script uses a helper function `randomIntFromInterval` to generate random integers within a specified range. This randomness plays a critical role in selecting a random network from a predefined list (`networkNames`). These random values help in dynamically configuring Docker containers and ensuring that no two containers accidentally use the same ports or networks. ```javascript function randomIntFromInterval(min, max) {