Public | Automated Build

Last pushed: 3 days ago
Short Description
bt-panel
Full Description

bt-panel

使用指南

默认用户:admin
默认密码:123456

运行docker时,可以通过 BT_PASSWORD 自定义登录密码

如果需要外连mysql,先运行mysql镜像。宝塔镜像中使用link参数连接。

run mysql

docker run \
--name mysql \
-v /home/config/mysql:/etc/mysql/conf.d \
-v /home/mysql:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=my-secret-pw \
-d mysql:latest

run web server

docker run \
--name bt \
--link mysql:localmysql \
-v /home/backup:/www/backup \
-v /home/wwwlogs:/www/wwwlogs \
-v /home/wwwroot:/www/wwwroot \
-v /home/config/vhost:/www/server/panel/vhost \
-v /home/letsencrypt:/etc/letsencrypt \
-e BT_PASSWORD=my-secret-pw \
-p 8888:8888 \
-p 80:80 \
-p 443:443 \
-p 21:21 \
-p 20:20 \
-d ywfwj2008/bt-php-nginx

参考

CN='125.88.182.172'
HK='103.224.251.79'
HK2='103.224.251.67'
US='128.1.164.196'

serverUrl=http://$nodeAddr:5880/install
mtype=$1(0/1)
actionType=$2(install/uninstall)
name=$3(nginx/php)
version=$4

nginx:http://125.88.182.172:5880/install/0/nginx.sh
php:http://125.88.182.172:5880/install/0/php.sh
mysql:http://125.88.182.172:5880/install/0/mysql.sh
redis:http://125.88.182.172:5880/install/0/redis.sh
Pure-Ftpd:http://125.88.182.172:5880/install/0/pure-ftpd.sh
lib:http://125.88.182.172:5880/install/1/lib.sh

php扩展:
http://125.88.182.172:5880/install/1/opcache.sh

sh $name.sh $actionType $version

install nginx

nginx: http://125.88.182.172:5880/install/0/nginx.sh install 1.12
tengine: http://125.88.182.172:5880/install/0/nginx.sh install
openrestry: http://125.88.182.172:5880/install/0/nginx.sh install openresty

Docker Pull Command
Owner
ywfwj2008
Source Repository