feat(config): 添加 Dozzle 端口配置支持
Some checks failed
Test start.ps1 (Windows) / test-windows (push) Has been cancelled
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:
parent
d5fa673b4e
commit
80c9b5576a
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user