mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
avoid uid too small, update xml conf
This commit is contained in:
@@ -35,9 +35,14 @@ app_download(){
|
|||||||
docker-compose exec ${CONT_NAME} su -c "appinstallctl.sh -app ${1} -domain ${2} -vhname ${DEMO_VH}"
|
docker-compose exec ${CONT_NAME} su -c "appinstallctl.sh -app ${1} -domain ${2} -vhname ${DEMO_VH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lsws_restart(){
|
||||||
|
docker-compose exec ${CONT_NAME} su -c '/usr/local/lsws/bin/lswsctrl restart >/dev/null'
|
||||||
|
}
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
store_credential ${DEMO_VH}
|
store_credential ${DEMO_VH}
|
||||||
app_download ${APP_NAME} ${DOMAIN}
|
app_download ${APP_NAME} ${DOMAIN}
|
||||||
|
lsws_restart
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ ! -z "${1}" ]; do
|
while [ ! -z "${1}" ]; do
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
<handler>lsphp7</handler>
|
<handler>lsphp7</handler>
|
||||||
</scriptHandler>
|
</scriptHandler>
|
||||||
</scriptHandlerList>
|
</scriptHandlerList>
|
||||||
|
<cache>
|
||||||
|
<cacheEngine>7</cacheEngine>
|
||||||
|
<storage>
|
||||||
|
<cacheStorePath>/var/www/lscache/</cacheStorePath>
|
||||||
|
</storage>
|
||||||
|
</cache>
|
||||||
<phpConfig>
|
<phpConfig>
|
||||||
<maxConns>35</maxConns>
|
<maxConns>35</maxConns>
|
||||||
<env>PHP_LSAPI_CHILDREN=35</env>
|
<env>PHP_LSAPI_CHILDREN=35</env>
|
||||||
Reference in New Issue
Block a user