feat(config): 添加 Dozzle 端口配置支持
Some checks failed
Test start.ps1 (Windows) / test-windows (push) Has been cancelled

- 在 .env.sample 中新增 DOZZLE_PORT 配置项,默认值为 8080
- 修改 docker-compose.yml 中 Dozzle 服务端口映射使用环境变量
- 实现端口配置的可自定义化,提升部署灵活性
This commit is contained in:
wangbo 2026-03-22 22:07:28 +08:00
parent d5fa673b4e
commit 80c9b5576a
2 changed files with 2 additions and 1 deletions

View File

@ -83,6 +83,7 @@ CONFIG_PROXY_URL=
LOG_LEVEL=log,error,warn,debug
DOZZLE_PORT=8080
WATCHTOWER_PORT=8089
PORTAINER_PORT=8090
PORTAINER_HTTPS_PORT=8091

View File

@ -295,7 +295,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data
ports:
- 8080:8080
- "${DOZZLE_PORT:-8080}:8080"
restart: unless-stopped
logging:
driver: "json-file"