docker 部署Nginx UI
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
输入邮箱和账号密码 数据库默认即可
原文地址:https://blog.csdn.net/SU19920923/article/details/145056680
免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!