Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
typ0520 committed Dec 7, 2016
1 parent 18d7dea commit 120fefc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion war/hotfix-apis.properties
@@ -1,5 +1,5 @@
#数据源配置
datasource.url=jdbc:mysql://127.0.0.1:3306/tinker_manager?useUnicode=true&characterEncoding=utf8
datasource.url=jdbc:mysql://localhost:3306/patch_manager?useUnicode=true&characterEncoding=utf8
datasource.username=root
datasource.password=root
datasource.driverClassName=com.mysql.jdbc.Driver
Expand Down
14 changes: 7 additions & 7 deletions war/hotfix-console.properties
@@ -1,17 +1,17 @@
#数据源配置
datasource.url=jdbc:mysql://127.0.0.1:3306/tinker_manager?useUnicode=true&characterEncoding=utf8
#数据源配置
datasource.url=jdbc:mysql://localhost:3306/patch_manager?useUnicode=true&characterEncoding=utf8
datasource.username=root
datasource.password=root
datasource.driverClassName=com.mysql.jdbc.Driver

#补丁文件存储路径
file_storage_path=/Users/tong/.tinker-manager
#补丁文件存储路径 如果做测试可以直接使用tomcat作为静态服务器只需要把下面${你的tomcat路径}改成对应的就行了;**如果是用于生产环境可以使用nginx(修改为你的静态服务对应的根目录)
file_storage_path=${你的tomcat路径}/webapps/patch-manager-static
#下载补丁文件静态服务器地址 **这个服务的根目录需要设置为上面配置的(${file_storage_path})的路径
patch-static-url=http://127.0.0.1/patch
patch-static-url=http://localhost:8080/patch-manager-static
#控制台服务地址
tm-manager-url=http://127.0.0.1:9010
tm-manager-url=http://localhost:8080/hotfix-console
#facade服务的地址
tm-facade-url=http://127.0.0.1:9011
tm-facade-url=http://localhost:8080/hotfix-apis

#是否开放注册
open_regist=true
Expand Down

0 comments on commit 120fefc

Please sign in to comment.