mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Increase memory to avoid heap limit allocation failure
This commit is contained in:
parent
b3247e4d03
commit
cde9b4e320
@ -215,7 +215,7 @@ chown ${GITLAB_USER}: ${GITLAB_INSTALL_DIR}/config/database.yml
|
||||
exec_as_git yarn install --production --pure-lockfile
|
||||
|
||||
echo "Compiling assets. Please be patient, this could take a while..."
|
||||
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=4096"
|
||||
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=8192"
|
||||
|
||||
# remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml
|
||||
rm -rf ${GITLAB_DATA_DIR}/config/secrets.yml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user