Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
7939d17c
Unverified
Commit
7939d17c
authored
Mar 20, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐳
#12718
parent
c8a353ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
README.md
README.md
+7
-1
src/main/resources/docker/latke.properties
src/main/resources/docker/latke.properties
+2
-4
No files found.
README.md
View file @
7939d17c
...
...
@@ -102,7 +102,13 @@ docker pull b3log/solo
*
使用 H2 Databse
```
shell
docker run
--name
solo
-p
8080:8080
-v
~/solo_h2:/opt/b3log/backup/
-d
b3log/solo
docker run
--detach
--name
solo
--network
=
host
\
--env
RUNTIME_DB
=
"MYSQL"
\
--env
JDBC_USERNAME
=
"root"
\
--env
JDBC_PASSWORD
=
"123456"
\
--env
JDBC_DRIVER
=
"com.mysql.cj.jdbc.Driver"
\
--env
JDBC_URL
=
"jdbc:mysql://localhost:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC"
\
b3log/solo
--listen_port
=
8080
--server_scheme
=
http
--server_host
=
localhost
```
...
...
src/main/resources/docker/latke.properties
View file @
7939d17c
...
...
@@ -24,11 +24,9 @@
#### Server ####
# Browser visit protocol
serverScheme
=
${SERVER_SCHEME}
serverScheme
=
http
# Browser visit domain name
serverHost
=
${SERVER_HOST}
# Browser visit port, 80 as usual, THIS IS NOT SERVER LISTEN PORT!
serverPort
=
${SERVER_PORT}
serverHost
=
localhost
#### Runtime Mode ####
### runtimeMode=DEVELOPMENT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment