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
7b615fa7
Commit
7b615fa7
authored
Jun 06, 2018
by
Asura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
refactor(master): 使用H2数据库 简化部署
Signed-off-by:
Asura
<
luodaoyi@gmail.com
>
parent
9b960c76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
20 deletions
+3
-20
docker-compose.yml
docker-compose.yml
+3
-20
No files found.
docker-compose.yml
View file @
7b615fa7
...
@@ -4,17 +4,10 @@ services:
...
@@ -4,17 +4,10 @@ services:
web
:
web
:
image
:
luodaoyi/solo
image
:
luodaoyi/solo
restart
:
always
restart
:
unless-stopped
ports
:
ports
:
-
8080:8080
-
8080:8080
depends_on
:
-
db
environment
:
environment
:
DATABASE_TYPE
:
mysql
DATABASE_HOST
:
db
DATABASE_NAME
:
solo
DATABASE_USERNAME
:
solo
DATABASE_PASSWORD
:
solo
SERVER_SCHMEA
:
https
SERVER_SCHMEA
:
https
SERVER_NAME
:
<your host>
SERVER_NAME
:
<your host>
SERVER_PORT
:
80
SERVER_PORT
:
80
...
@@ -22,18 +15,8 @@ services:
...
@@ -22,18 +15,8 @@ services:
EMAIL_PASSWORD
:
<your smtp password>
EMAIL_PASSWORD
:
<your smtp password>
SMTP_HOST
:
<your smtp host>
SMTP_HOST
:
<your smtp host>
SMTP_PROT
:
<your smtp port>
SMTP_PROT
:
<your smtp port>
db
:
image
:
mysql:5.7
restart
:
always
environment
:
MYSQL_ROOT_PASSWORD
:
somesolo
MYSQL_DATABASE
:
solo
MYSQL_USER
:
solo
MYSQL_PASSWORD
:
solo
volumes
:
volumes
:
-
mysql-data:/var/lib/mysql
-
database:/opt/b3log/backup
volumes
:
volumes
:
mysql-data
:
database
:
\ No newline at end of file
\ No newline at end of file
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