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

输入邮箱和账号密码 数据库默认即可

相关推荐
爱宇阳1 小时前
WSL2 完整开发环境配置指南
容器
qinyia1 小时前
**使用AI助手在智慧运维中快速定位并修复服务异常:以Nginx配置错误导致502错误为例**
linux·运维·服务器·数据库·mysql·nginx·自动化
hopsky1 小时前
Docker Desktop 报 500
运维·docker·容器
曦云沐1 小时前
一键部署ROS2开发环境!Docker run命令详解与实战
docker·容器·ros2
404Clukay1 小时前
Windows Server 配置 Let‘s Encrypt 免费 HTTPS 证书(WACS + Nginx 自动化方案)
windows·nginx·https
为什么不问问神奇的海螺呢丶1 小时前
n9e categraf k8s监控配置 -cadvisor
云原生·容器·kubernetes
H Journey1 小时前
Docker swarm 集群搭建实战
运维·docker·容器
炸裂狸花猫2 小时前
开源域名代理与流量限制方案 - Cloudflare + Ingress + 自签名证书
运维·云原生·容器·kubernetes·cloudflare·waf·免费域名证书
江湖有缘2 小时前
Docker环境下使用RustScan端口扫描工具教程
运维·docker·容器
70asunflower2 小时前
镜像仓库(Image Registries)详解
linux·docker·容器