update
This commit is contained in:
parent
85ec0ac68d
commit
adebf8b317
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user