Merge pull request #1277 from winfr34k/develop
Fix: "Port is blocked" issue
This commit is contained in:
commit
74511b1d54
1 changed files with 0 additions and 2 deletions
|
@ -18,8 +18,6 @@ case "$1" in
|
||||||
chown ${APP_USER}.${APP_GROUP} $(dirname ${APP_CONFIG})
|
chown ${APP_USER}.${APP_GROUP} $(dirname ${APP_CONFIG})
|
||||||
[ -f ${APP_CONFIG} ] || ${CLI} run cp conf/app.ini ${APP_CONFIG}
|
[ -f ${APP_CONFIG} ] || ${CLI} run cp conf/app.ini ${APP_CONFIG}
|
||||||
${CLI} config:set USER=${APP_USER}
|
${CLI} config:set USER=${APP_USER}
|
||||||
PORT=$(${CLI} config:get PORT || echo "6000")
|
|
||||||
sed -i "s|HTTP_PORT = 3000|HTTP_PORT = ${PORT}|" ${APP_CONFIG}
|
|
||||||
sed -i "s|RUN_USER = git|RUN_USER = ${APP_USER}|" ${APP_CONFIG}
|
sed -i "s|RUN_USER = git|RUN_USER = ${APP_USER}|" ${APP_CONFIG}
|
||||||
sed -i "s|RUN_MODE = dev|RUN_MODE = prod|" ${APP_CONFIG}
|
sed -i "s|RUN_MODE = dev|RUN_MODE = prod|" ${APP_CONFIG}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue