forked from wangziqi/gongxue-base
fix: make deploy npm install resilient
This commit is contained in:
7
scripts/deploy/env/deploy.env.example
vendored
7
scripts/deploy/env/deploy.env.example
vendored
@@ -16,3 +16,10 @@ RUNTIME_CONFIG_DIR=/etc/tiku-saas/runtime-config
|
||||
RUN_SECURITY_CHECKS=true
|
||||
RUN_LAUNCH_GATE=true
|
||||
RESTART_SERVICES=true
|
||||
|
||||
# Use https://registry.npmmirror.com on mainland China servers if npmjs times out.
|
||||
NPM_REGISTRY=https://registry.npmjs.org/
|
||||
NPM_FETCH_RETRIES=5
|
||||
NPM_FETCH_RETRY_MINTIMEOUT=20000
|
||||
NPM_FETCH_RETRY_MAXTIMEOUT=120000
|
||||
NPM_FETCH_TIMEOUT=300000
|
||||
|
||||
Reference in New Issue
Block a user