环境准备:安装完毕docker-compose
[root@master nginx]# cat docker-compose.yml version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports: #这里意思是将容器内的80 81 443 映射为主机的 331 332 333 - '331:80' - '332:81' - '333:443' volumes: - /root/nginx/data:/data - /root/nginx/letsencrypt:/etc/letsencrypt
中文镜像:chishin/nginx-proxy-manager-zh
登陆访问:
默认密码:admin@example.com changeme
使用IPV6地址配置
重新启动docker