今天下午更新 solo 后,启动没有错误提示,但是就是已启动就关闭,这是为什么啊?
[root@VM-0-16-centos ~]# docker run --detach --name solo --network=host --env RUNTIME_DB="MYSQL" --env JDBC_USERNAME="root" --env JDBC_PASSWORD="root" --env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" --env JDBC_URL="jdbc:mysql://127.0.0.1:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true" --volume /opt/solo/skins/:/opt/solo/skins/ b3log/solo --listen_port=8080 --server_scheme=http --server_host=localhost --server_port= --lute_http=http://localhost:8249 --volume /opt/solo/log4j2.xml:/opt/solo/log4j2.xml
2209af85ef11675e1a885f83d711e507c0d2e22bcfa9f8a3bf62f25adbab6dff
[root@VM-0-16-centos ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2209af85ef11 b3log/solo "java -cp lib/*:. or…" 8 seconds ago Exited (0) 6 seconds ago solo
78eef3d89234 b3log/lute-http "/opt/lute-http/lute…" 3 hours ago Up 3 hours gallant_chandrasekhar
[root@VM-0-16-centos ~]# docker logs 2209af85ef11
usage: java -cp "lib/*:." org.b3log.solo.Server [-h] [--listen_port <LISTEN_PORT>] [--lute_http <LUTE_HTTP>]
[--runtime_mode <RUNTIME_MODE>] [--server_host <SERVER_HOST>] [--server_port <SERVER_PORT>] [--server_scheme
<SERVER_SCHEME>] [--static_path <STATIC_PATH>] [--static_server_host <STATIC_SERVER_HOST>] [--static_server_port
<STATIC_SERVER_PORT>] [--static_server_scheme <STATIC_SERVER_SCHEME>] [--unix_domain_socket_path
<UNIX_DOMAIN_SOCKET_PATH>]
Solo 是一款小而美的博客系统,专为程序员设计。
-h,--help print help for the command
--listen_port <LISTEN_PORT> listen port, default is 8080
--lute_http <LUTE_HTTP> lute http URL, default is http://localhost:8249, see
https://github.com/88250/lute-http for more details
--runtime_mode <RUNTIME_MODE> runtime mode (DEVELOPMENT/PRODUCTION), default is DEVELOPMENT
--server_host <SERVER_HOST> browser visit domain name, default is localhost
--server_port <SERVER_PORT> browser visit port, default is 8080
--server_scheme <SERVER_SCHEME> browser visit protocol, default is http
--static_path <STATIC_PATH> browser visit static resource path, default is empty
--static_server_host <STATIC_SERVER_HOST> browser visit static resource domain name, default is
localhost
--static_server_port <STATIC_SERVER_PORT> browser visit static resource port, default is 8080
--static_server_scheme <STATIC_SERVER_SCHEME> browser visit static resource protocol, default is http
--unix_domain_socket_path <UNIX_DOMAIN_SOCKET_PATH> unix domain socket path
提需求或报告缺陷请到项目网站: https://github.com/88250/solo
[root@VM-0-16-centos ~]#
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于