编译启动成功

This commit is contained in:
陈云志
2020-12-22 17:27:59 +08:00
parent a36c9d007b
commit d4c400b9d0
12 changed files with 49 additions and 30 deletions

8
bin/start-all.sh Normal file
View 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
View 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
View 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