Files
dock/nginx
2025-10-19 19:17:28 +08:00

25 lines
590 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
sudo mkdir -p /data
sudo mkdir -p /boot/脚本
file_path="/boot/脚本/ru.yaml"
echo "# 方便检查的备注
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
" > "$file_path"
sleep 1
docker compose -p nginx -f /boot/脚本/ru.yaml up -d
echo "端口81"
echo "初始账号admin@example.com"
echo "初始密码changeme"