Revert "feat: refactor docker http proxy"

This reverts commit 48a860bfd4.
This commit is contained in:
DDSRem
2024-06-07 21:43:36 +08:00
parent 0a9a391eb3
commit 7e442650b0
4 changed files with 64 additions and 47 deletions

View File

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