增加bolo使用
This commit is contained in:
parent
74896d5e78
commit
fa09111fab
31
bolo/README.md
Normal file
31
bolo/README.md
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
## 使用
|
||||
|
||||
- 将[https://git.zeekling.cn/linux/dockerFiles/src/branch/master/bolo](https://git.zeekling.cn/linux/dockerFiles/src/branch/master/bolo)
|
||||
下面的dockerFiles和 settings.xml放置到博客bolo-solo的下面,执行下面命令编译并导出镜像:
|
||||
|
||||
```sh
|
||||
docker build -t "zeek/bolo" .
|
||||
docker save -o /tmp/zeek_bolo.tar zeek/bolo
|
||||
```
|
||||
- 将`/tmp/zeek_bolo.tar`上传到服务器`/tmp`目录下面,并且导入:
|
||||
```sh
|
||||
docker load --input=/tmp/zeek_bolo.tar
|
||||
```
|
||||
|
||||
- 参照下面脚本新建bolo镜像。
|
||||
```sh
|
||||
docker stop bolo
|
||||
docker rm bolo
|
||||
docker run --detach --name bolo --network=host \
|
||||
--env RUNTIME_DB="MYSQL" \
|
||||
--env JDBC_USERNAME="root" \
|
||||
--env JDBC_PASSWORD="123456" \
|
||||
--env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" \
|
||||
--env SERVER_HOST="www.zeekling.cn" \
|
||||
--env SERVER_PORT="443" \
|
||||
--env JDBC_URL="jdbc:mysql://127.0.0.1:3306/solo?useUnicode=yes&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC" \
|
||||
-v /dockerData/bolo/bolo-fantastic:/opt/bolo/skins/bolo-fantastic \
|
||||
zeek/bolo --listen_port=8080 --server_scheme=https --server_host=www.zeekling.cn --lute_http=http://127.0.0.1:8249 \
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user