mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-26 19:35:38 +00:00
docs(README): add Docker run command examples for multiple languages
This commit is contained in:
@@ -70,6 +70,19 @@ Hinweise:
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Entsprechend ohne Compose (gleiche Port-Bindung und Config-Volume):
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v "$(pwd)/meshchat-config:/config" \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
```
|
||||
|
||||
Alternativ kann das Image `quad4io/meshchatx:latest` (Docker Hub) verwendet werden.
|
||||
|
||||
Standard-Compose-Datei:
|
||||
|
||||
- `127.0.0.1:8000` auf dem Host -> Container-Port `8000`
|
||||
|
||||
@@ -70,6 +70,19 @@ Note:
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Equivalente senza Compose (stessa porta e volume di configurazione):
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v "$(pwd)/meshchat-config:/config" \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
```
|
||||
|
||||
Puoi usare l'immagine `quad4io/meshchatx:latest` (Docker Hub) al posto di GHCR.
|
||||
|
||||
Il file compose predefinito mappa:
|
||||
|
||||
- `127.0.0.1:8000` sull'host -> porta `8000` del container
|
||||
|
||||
@@ -70,6 +70,19 @@ task build:all
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Compose を使わない場合の同等例(同じポート割り当てと設定ボリューム):
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v "$(pwd)/meshchat-config:/config" \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
```
|
||||
|
||||
イメージは Docker Hub の `quad4io/meshchatx:latest` に置き換え可能です。
|
||||
|
||||
デフォルトの compose ファイル:
|
||||
|
||||
- ホスト `127.0.0.1:8000` -> コンテナポート `8000`
|
||||
|
||||
@@ -70,6 +70,19 @@ task build:all
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
То же самое без Compose (тот же порт и том конфигурации):
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v "$(pwd)/meshchat-config:/config" \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
```
|
||||
|
||||
Вместо образа можно указать `quad4io/meshchatx:latest` (Docker Hub).
|
||||
|
||||
Compose-файл по умолчанию:
|
||||
|
||||
- `127.0.0.1:8000` на хосте -> порт `8000` контейнера
|
||||
|
||||
@@ -70,6 +70,19 @@ task build:all
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
不使用 Compose 时的等效命令(相同的端口绑定与配置卷):
|
||||
|
||||
```bash
|
||||
docker run -d --name reticulum-meshchatx \
|
||||
--restart unless-stopped \
|
||||
--security-opt no-new-privileges:true \
|
||||
-p 127.0.0.1:8000:8000 \
|
||||
-v "$(pwd)/meshchat-config:/config" \
|
||||
ghcr.io/quad4-software/meshchatx:latest
|
||||
```
|
||||
|
||||
镜像也可换为 Docker Hub 的 `quad4io/meshchatx:latest`。
|
||||
|
||||
默认 compose 文件映射:
|
||||
|
||||
- 主机 `127.0.0.1:8000` -> 容器端口 `8000`
|
||||
|
||||
Reference in New Issue
Block a user