mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 10:02:49 +08:00
更新docker配置
This commit is contained in:
@@ -5,7 +5,9 @@ cp /var/www/html/docker/nginx.conf /etc/nginx/sites-available/default
|
||||
ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
|
||||
|
||||
# 将代码中的php配置文件复制到php配置文件中
|
||||
cp /var/www/html/docker/phprun.ini /usr/local/etc/php/conf.d
|
||||
cp /var/www/html/docker/zz-phprun.ini /usr/local/etc/php/conf.d
|
||||
cp /var/www/html/docker/zz-phpfpm.conf /usr/local/etc/php-fpm.d
|
||||
|
||||
|
||||
# 运行redis
|
||||
nohup redis-server --requirepass "" &
|
||||
@@ -22,4 +24,4 @@ if [ "$1" = "server" ] || [ "$1" = "" ]; then
|
||||
php-fpm
|
||||
else
|
||||
php "/var/www/html/""$@"
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user