mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
编译启动成功
This commit is contained in:
8
bin/start-all.sh
Normal file
8
bin/start-all.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#! /bin/bash
|
||||
for dir in $(ls .)
|
||||
do
|
||||
if [[ -f $dir/project-*.jar ]];then
|
||||
./$dir/project-*.jar &
|
||||
fi
|
||||
|
||||
done
|
||||
4
bin/start-nginx.sh
Executable file
4
bin/start-nginx.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
docker rm -f nginx-latest
|
||||
docker run --name=nginx-latest --restart=always -p 80:80 -v /opt/pscada-online/nginx-conf/:/etc/nginx/ -v /var/logs/nginx:/var/logs/nginx -v /opt/pscada-online/www:/opt/pscada-online/www -e TZ="Asia/Shanghai" -d nginx
|
||||
|
||||
3
bin/start-redis.sh
Executable file
3
bin/start-redis.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#! /bin/bash
|
||||
docker rm -f redis-6.0
|
||||
docker run --name=redis-6.0 --restart=always -itd -v /opt/pscada-online/redis-conf/redis.conf:/etc/redis/redis.conf -p 6379:6379 redis
|
||||
Reference in New Issue
Block a user