EXPOSE 3000
This commit is contained in:
parent
2cb1593a37
commit
efecfd42c2
@ -45,6 +45,6 @@ RUN apt-get update \
|
|||||||
&& echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf \
|
&& echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf \
|
||||||
&& playwright install-deps chromium \
|
&& playwright install-deps chromium \
|
||||||
&& rm -rf /root/.cache/
|
&& rm -rf /root/.cache/
|
||||||
EXPOSE 3001
|
EXPOSE 3000
|
||||||
VOLUME ["/config"]
|
VOLUME ["/config"]
|
||||||
ENTRYPOINT [ "bash", "-c", "/app/start.sh & nginx -g 'daemon off;'" ]
|
ENTRYPOINT [ "bash", "-c", "/app/start.sh & nginx -g 'daemon off;'" ]
|
||||||
|
@ -19,7 +19,7 @@ class Settings(BaseSettings):
|
|||||||
TZ: str = "Asia/Shanghai"
|
TZ: str = "Asia/Shanghai"
|
||||||
# 监听地址,ipv6改为::
|
# 监听地址,ipv6改为::
|
||||||
HOST: str = "0.0.0.0"
|
HOST: str = "0.0.0.0"
|
||||||
# 监听端口
|
# API监听端口
|
||||||
PORT: int = 3001
|
PORT: int = 3001
|
||||||
# 是否自动重载
|
# 是否自动重载
|
||||||
RELOAD: bool = False
|
RELOAD: bool = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user