github地址:
GitHub - 0xJacky/nginx-ui: Yet another WebUI for Nginx
1、下载Nginx UI镜像
docker pull crpi-k5k93ldwfc7o75ip.cn-hangzhou.personal.cr.aliyuncs.com/list_su/nginx_ui:latest
docker pull uozi/nginx-ui:latest
2、创建docker-compose.yml配置文件
mkdir nginx_ui && cd nginx_ui
vim docker-compose.yml
services:
nginx-ui:
stdin_open: true
tty: true
container_name: nginx-ui
restart: always
environment:
- TZ=Asia/Shanghai
volumes:
- '/mnt/user/appdata/nginx:/etc/nginx'
- '/mnt/user/appdata/nginx-ui:/etc/nginx-ui'
- '/var/www:/var/www'
ports:
- 8077:80
- 8443:443
image: 'crpi-k5k93ldwfc7o75ip.cn-hangzhou.personal.cr.aliyuncs.com/list_su/nginx_ui:latest'
3、运行docker compose up -d
4、浏览琪输入 服务器ip.8077
输入邮箱和账号密码 数据库默认即可