Code Monkey home page Code Monkey logo

baota's Introduction

docker 部署宝塔面板

基于 Ubuntu 镜像构建宝塔面板。

通过 bridge 模式运行宝塔镜像

git clone https://github.com/jangrui/baota
cd baota
docker-compose pull
docker-compose up -d

docker && compose 安装

通过 host 模式运行宝塔镜像

sed -i "s,# network_mode,network_mode," docker-compose.yml
docker-compose up -d

host 网络模式,不需要设置映射端口,自动映射宝塔面板全端口到外网。(macos 和 windows 不支持 host)

登录方式

  • 登陆地址 http://{{面板ip地址}}:8888
  • 初始账号 username
  • 初始密码 password

已经去除安全入口,且默认账号密码、端口设置成上述账号密码、端口,请登陆后第一时间修改账号密码,及端口!

数据持久化

  • /www 映射到宿主机的 volume 卷中(/var/lib/docker/volumes/$(basename $PWD)/_data/)。
  • /www/backup 映射到当前目录下的 www/backup 目录。

baota's People

Contributors

jangrui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

baota's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.