mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
Merge pull request #3038 from InfinityPacer/feature/setup
This commit is contained in:
+5
-1
@@ -21,7 +21,11 @@ chown -R moviepilot:moviepilot \
|
|||||||
/var/log/nginx
|
/var/log/nginx
|
||||||
chown moviepilot:moviepilot /etc/hosts /tmp
|
chown moviepilot:moviepilot /etc/hosts /tmp
|
||||||
# 下载浏览器内核
|
# 下载浏览器内核
|
||||||
HTTPS_PROXY="${HTTPS_PROXY:-${https_proxy:-$PROXY_HOST}}" gosu moviepilot:moviepilot playwright install chromium
|
if [[ "$HTTPS_PROXY" =~ ^https?:// ]] || [[ "$https_proxy" =~ ^https?:// ]] || [[ "$PROXY_HOST" =~ ^https?:// ]]; then
|
||||||
|
HTTPS_PROXY="${HTTPS_PROXY:-${https_proxy:-$PROXY_HOST}}" gosu moviepilot:moviepilot playwright install chromium
|
||||||
|
else
|
||||||
|
gosu moviepilot:moviepilot playwright install chromium
|
||||||
|
fi
|
||||||
# 启动前端nginx服务
|
# 启动前端nginx服务
|
||||||
nginx
|
nginx
|
||||||
# 启动docker http proxy nginx
|
# 启动docker http proxy nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user