mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
docs(docker): bind published ports to localhost
This commit is contained in:
1 parent
a0712f0b3a
commit
f15a9989b4
3 files changed
+6
-6
No files matched your search
@@ -47,7 +47,7 @@ Docker 参数会替换完整的默认命令。添加服务选项时,需要按
|
||||
|
||||
```bash
|
||||
docker run --rm \
|
||||
-p 8080:8080 \
|
||||
-p 127.0.0.1:8080:8080 \
|
||||
-v chatlab-data:/home/node/.chatlab \
|
||||
ghcr.io/chatlab/chatlab-cli:latest \
|
||||
start --port 8080 --host 0.0.0.0 --headless --no-open
|
||||
@@ -104,7 +104,7 @@ services:
|
||||
image: ghcr.io/chatlab/chatlab-cli:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3110:3110"
|
||||
- "127.0.0.1:3110:3110"
|
||||
volumes:
|
||||
- chatlab-data:/home/node/.chatlab
|
||||
command:
|
||||
|
||||
@@ -51,7 +51,7 @@ Docker arguments replace the complete default command. Repeat `start`,
|
||||
|
||||
```bash
|
||||
docker run --rm \
|
||||
-p 8080:8080 \
|
||||
-p 127.0.0.1:8080:8080 \
|
||||
-v chatlab-data:/home/node/.chatlab \
|
||||
ghcr.io/chatlab/chatlab-cli:latest \
|
||||
start --port 8080 --host 0.0.0.0 --headless --no-open
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
image: ghcr.io/chatlab/chatlab-cli:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3110:3110"
|
||||
- "127.0.0.1:3110:3110"
|
||||
volumes:
|
||||
- chatlab-data:/home/node/.chatlab
|
||||
command:
|
||||
|
||||
@@ -47,7 +47,7 @@ Docker 參數會替換完整的預設命令。加入服務選項時,需要視
|
||||
|
||||
```bash
|
||||
docker run --rm \
|
||||
-p 8080:8080 \
|
||||
-p 127.0.0.1:8080:8080 \
|
||||
-v chatlab-data:/home/node/.chatlab \
|
||||
ghcr.io/chatlab/chatlab-cli:latest \
|
||||
start --port 8080 --host 0.0.0.0 --headless --no-open
|
||||
@@ -104,7 +104,7 @@ services:
|
||||
image: ghcr.io/chatlab/chatlab-cli:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3110:3110"
|
||||
- "127.0.0.1:3110:3110"
|
||||
volumes:
|
||||
- chatlab-data:/home/node/.chatlab
|
||||
command:
|
||||
|
||||
Reference in new issue
Block a user