Docker:安装X面板

发布于 2022-07-07  172 次阅读


来源

https://github.com/vaxilu/x-ui

https://github.com/Chasing66/beautiful_docker

部署

version: '3.8'
services:
  nui:
    image: enwaiax/x-ui
    container_name: nui
    volumes:
      - ./db/:/etc/x-ui/
      - ./cert/:/root/cert/
    restart: unless-stopped
    network_mode: host
  • mkdir xu && cd xu
  • nano docker-compose.yml
  • sudo docker-compose up -d
  • NPM面板反代 http://docker0:54321
  • 账号admin密码admin登录

一枚爱好探索的医学生