mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
修正docker的run.sh
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# # 将代码中的nginx复制到nginx配置文件中
|
# 将代码中的nginx复制到nginx配置文件中
|
||||||
# cp /var/www/html/docker/nginx.conf /etc/nginx/sites-available/default
|
cp /var/www/html/docker/nginx.conf /etc/nginx/sites-available/default
|
||||||
# ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
|
ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
# # 将代码中的php配置文件复制到php配置文件中
|
# 将代码中的php配置文件复制到php配置文件中
|
||||||
# cp /var/www/html/docker/phprun.ini /usr/local/etc/php/conf.d
|
cp /var/www/html/docker/phprun.ini /usr/local/etc/php/conf.d
|
||||||
|
|
||||||
# # 运行redis
|
# 运行redis
|
||||||
# nohup redis-server --requirepass "" &
|
nohup redis-server --requirepass "" &
|
||||||
# # 运行定时任务
|
# 运行定时任务
|
||||||
# nohup php /var/www/html/think timer --local &
|
nohup php /var/www/html/think timer --local --quit &
|
||||||
|
|
||||||
# 输出参数
|
# 输出参数
|
||||||
echo "参数为:$@"
|
echo "参数为:$@"
|
||||||
|
|||||||
@@ -12,14 +12,12 @@ use think\console\Output;
|
|||||||
|
|
||||||
class VersionBase extends Command
|
class VersionBase extends Command
|
||||||
{
|
{
|
||||||
public const VERSION = 'v2.0.94';
|
public const VERSION = 'v2.0.95';
|
||||||
|
|
||||||
public const LAYUI_VERSION = '2.8.17';
|
public const LAYUI_VERSION = '2.8.17';
|
||||||
|
|
||||||
public const COMMENT = [
|
public const COMMENT = [
|
||||||
'新增docker用法和说明',
|
'修正docker的run.sh',
|
||||||
'优化timer指定本地地址',
|
|
||||||
'修复重置密码命令错误',
|
|
||||||
'发布新版本',
|
'发布新版本',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user