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

4
bin/nginx-start.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