diff --git a/Dockerfile b/Dockerfile index a40bbb11..945a4e3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,6 +45,6 @@ RUN apt-get update \ && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf \ && playwright install-deps chromium \ && rm -rf /root/.cache/ -EXPOSE 3001 +EXPOSE 3000 VOLUME ["/config"] ENTRYPOINT [ "bash", "-c", "/app/start.sh & nginx -g 'daemon off;'" ] diff --git a/app/core/config.py b/app/core/config.py index 54a01a4b..3de10be0 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -19,7 +19,7 @@ class Settings(BaseSettings): TZ: str = "Asia/Shanghai" # 监听地址,ipv6改为:: HOST: str = "0.0.0.0" - # 监听端口 + # API监听端口 PORT: int = 3001 # 是否自动重载 RELOAD: bool = False