Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2ad59c10
authored
Jun 20, 2019
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update document
1 parent
293ffca1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
doc/XXL-JOB官方文档.md
doc/db/tables_xxl_job.sql
xxl-job-admin/src/main/resources/application.properties
doc/XXL-JOB官方文档.md
View file @
2ad59c1
...
...
@@ -359,7 +359,7 @@ XXL-JOB是一个轻量级分布式任务调度平台,其核心设计目标是
调度中心配置内容说明:
### 调度中心JDBC链接:链接地址请保持和 2.1章节 所创建的调度数据库的地址一致
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
-
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
_
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.username=root
spring.datasource.password=root_pwd
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
...
...
@@ -419,7 +419,7 @@ docker run -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/x
* 如需自定义 mysql 等配置,可通过 "PARAMS" 指定,参数格式 RAMS="--key=value --key2=value2" ;
* 配置项参考文件:/xxl-job/xxl-job-admin/src/main/resources/application.properties
*/
docker run -e PARAMS="--spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
-
job?Unicode=true&characterEncoding=UTF-8" -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/xxl-job-admin
docker run -e PARAMS="--spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
_
job?Unicode=true&characterEncoding=UTF-8" -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/xxl-job-admin
```
...
...
doc/db/tables_xxl_job.sql
View file @
2ad59c1
CREATE
database
if
NOT
EXISTS
`xxl
-
job`
default
character
set
utf8
collate
utf8_general_ci
;
use
`xxl
-
job`
;
CREATE
database
if
NOT
EXISTS
`xxl
_
job`
default
character
set
utf8
collate
utf8_general_ci
;
use
`xxl
_
job`
;
...
...
xxl-job-admin/src/main/resources/application.properties
View file @
2ad59c1
...
...
@@ -17,7 +17,7 @@ spring.freemarker.settings.number_format=0.##########
mybatis.mapper-
locations
=
classpath:/mybatis-mapper/*Mapper.xml
### xxl-job, datasource
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/xxl
-
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/xxl
_
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.username
=
root
spring.datasource.password
=
root_pwd
spring.datasource.driver-class-
name
=
com.mysql.jdbc.Driver
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment