EXPOSE 3000

This commit is contained in:
jxxghp 2023-06-30 14:22:33 +08:00
parent 2cb1593a37
commit efecfd42c2
2 changed files with 2 additions and 2 deletions

View File

@ -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;'" ]

View File

@ -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