Update docker-compose.yml to use registry image and custom port 19953

This commit is contained in:
chaos
2026-03-17 00:42:00 +08:00
parent 4e560b3341
commit 16c1aa982d
2 changed files with 7 additions and 4 deletions

View File

@@ -20,10 +20,13 @@ docker run -p 1995:1995 -v $(pwd)/data.db:/app/data.db vox-app
``` ```
### 2. 使用 Docker Compose (推荐) ### 2. 使用 Docker Compose (推荐)
已配置为直接拉取注册表镜像并映射至端口 **19953**
```bash ```bash
# 以后台模式运行 # 启动
docker-compose up -d docker-compose up -d
# 查看日志 # 停止
docker-compose down
# 查看实时日志
docker-compose logs -f docker-compose logs -f
``` ```

View File

@@ -1,9 +1,9 @@
services: services:
vox: vox:
build: . image: gitea.qxy1828.com/chaos/vox:latest
container_name: vox-app container_name: vox-app
ports: ports:
- "1995:1995" - "19953:1995"
volumes: volumes:
- ./data.db:/app/data.db - ./data.db:/app/data.db
restart: always restart: always