feat: refactor docker http proxy

This commit is contained in:
DDSRem
2024-06-07 11:08:41 +08:00
parent 2d4fb5d52e
commit 48a860bfd4
4 changed files with 47 additions and 64 deletions

View File

@ -24,9 +24,9 @@ chown moviepilot:moviepilot /etc/hosts /tmp
gosu moviepilot:moviepilot playwright install chromium
# 启动前端nginx服务
nginx
# 启动haproxy
# 启动docker http proxy nginx
if [ -S "/var/run/docker.sock" ]; then
haproxy -f /app/haproxy.cfg
nginx -c /etc/nginx/docker_http_proxy.conf
fi
# 设置后端服务权限掩码
umask "${UMASK}"