Delete nginx
This commit is contained in:
22
nginx
22
nginx
@@ -1,22 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
sudo mkdir -p /data
|
|
||||||
sudo mkdir -p /boot/脚本
|
|
||||||
file_path="/boot/脚本/nginx.yml"
|
|
||||||
yaml_content='services:
|
|
||||||
app:
|
|
||||||
image: "docker.io/jc21/nginx - proxy - manager:latest"
|
|
||||||
restart: unless - stopped
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
- "81:81"
|
|
||||||
- "443:443"
|
|
||||||
volumes:
|
|
||||||
- "./data:/data"
|
|
||||||
- "./letsencrypt:/etc/letsencrypt"
|
|
||||||
#Email: admin@example.com
|
|
||||||
#Password: changeme http://127.0.0.1:81
|
|
||||||
'
|
|
||||||
echo "$yaml_content" > "$file_path"
|
|
||||||
sleep 1
|
|
||||||
docker compose -p my_rustdesk_project -f /boot/脚本/nginx.yml up -d
|
|
||||||
echo "端口81"
|
|
||||||
Reference in New Issue
Block a user