build evn sh

This commit is contained in:
陈云志
2020-12-25 19:38:21 +08:00
parent 075c2783f8
commit 01e8e40b1c
11 changed files with 63 additions and 15 deletions

6
bin/fastdfs-start.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
docker rm -f nginx-latest
#项目程序部署目录
project=$1
docker run --name=nginx-latest --restart=always -p 80:80 -v ${project}/nginx-conf/:/etc/nginx/ -v /var/logs/nginx:/var/logs/nginx -v ${project}/www:/opt/pscada-online/www -e TZ="Asia/Shanghai" -d nginx