Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
# 是否自动启动 Web 服务器托管 output 目录 (true/false)
# 启用后可通过 http://localhost:{WEBSERVER_PORT} 访问生成的报告
# 手动控制:docker exec -it trendradar python manage.py start_webserver
ENABLE_WEBSERVER=false
ENABLE_WEBSERVER=true

# Web 服务器端口(默认 8080,可自定义避免冲突)
# 注意:修改后需要重启容器生效
WEBSERVER_PORT=8080
WEBSERVER_PORT=9800

# ============================================
# 通知渠道配置(多账号用 ; 分隔)
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
restart: unless-stopped

ports:
- "127.0.0.1:${WEBSERVER_PORT:-8080}:${WEBSERVER_PORT:-8080}"
- "0.0.0.0:${WEBSERVER_PORT:-8080}:${WEBSERVER_PORT:-8080}"

volumes:
- ../config:/app/config:ro
Expand Down
Loading