🧪 添加 FileCodeBox 测试环境配置
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# FileCodeBox 测试环境
|
||||
|
||||
当前测试环境用于验证 `test/custom-admin-ui` 分支里的自定义镜像补丁,不影响生产环境。
|
||||
|
||||
- 容器名:`filecodebox-test`
|
||||
- 镜像:`local/filecodebox:test-custom-admin-ui`
|
||||
- 端口:`127.0.0.1:40158 -> 12345`
|
||||
- 数据:`/opt/1panel/apps/filecodebox/filecodebox-test/data`,从生产 `/app/data` 复制而来
|
||||
- 生产容器:`filecodebox`,继续使用官方镜像 `lanol/filecodebox:beta`
|
||||
|
||||
验证:
|
||||
|
||||
```bash
|
||||
curl -fsS http://127.0.0.1:40157/ | grep -qv fcb-analytics.js
|
||||
curl -fsS http://127.0.0.1:40158/ | grep 'fcb-analytics.js?v='
|
||||
```
|
||||
Reference in New Issue
Block a user