mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
feat: add resource limits and configurations for Docker container in docs
This commit is contained in:
parent
965a4b81ec
commit
d3ca29edf1
10 changed files with 38 additions and 1 deletions
|
|
@ -85,6 +85,10 @@ docker compose up -d
|
|||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -35,13 +35,16 @@ Quick start with Compose:
|
|||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Manual run with a named volume for persistence:
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ docker compose up -d
|
|||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ docker compose up -d
|
|||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ docker compose up -d
|
|||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ docker compose up -d
|
|||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ docker compose up -d
|
|||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
BIN
meshchatx.rsm
BIN
meshchatx.rsm
Binary file not shown.
|
|
@ -36,12 +36,18 @@ Quick start with Compose:
|
|||
docker compose up -d
|
||||
```
|
||||
|
||||
For [Coolify](https://coolify.io/docs/knowledge-base/docker/compose), deploy with `docker-compose.coolify.yml`. Assign a domain that includes container port `8000` (for example `https://mesh.example.com:8000`). That file serves HTTP inside the container so Coolify can terminate TLS at the proxy.
|
||||
|
||||
Manual run with a named volume for persistence:
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v meshchatx-config:/config \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@ mkdir -p "$CONFIG_DIR"
|
|||
echo "Starting container on host port ${HOST_PORT}..."
|
||||
docker run -d \
|
||||
--name "$CONTAINER" \
|
||||
--cpus=2.0 \
|
||||
--memory=1g \
|
||||
--memory-reservation=256m \
|
||||
--pids-limit=512 \
|
||||
-p "${HOST_PORT}:8000" \
|
||||
-v "${CONFIG_DIR}:/config" \
|
||||
"$IMAGE" >/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue