-
Notifications
You must be signed in to change notification settings - Fork 839
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xxx
committed
Mar 4, 2018
1 parent
b570313
commit b47bf84
Showing
8 changed files
with
79 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# 自定义 | ||
/logs | ||
|
||
# 系统文件 | ||
/target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# ========== 自定义 ========== | ||
# 服务端口号 | ||
server: | ||
port: 8080 | ||
|
||
# 代理配置 | ||
proxy: | ||
# 访问目标站点所用代理(除 free-ss) | ||
enable: true | ||
host: 127.0.0.1 | ||
port: 1080 | ||
|
||
# 访问 free-ss 时所用代理 | ||
free-ss: | ||
enable: false | ||
host: 113.12.72.24 | ||
port: 3128 | ||
socks: false | ||
|
||
|
||
# phantomjs 路径 | ||
phantomjs: | ||
path: file:lib\phantomjs.exe | ||
|
||
|
||
# 因 Heroku 应用 30 分钟没有访问会自动休眠,为防止休眠,系统每 20 分钟访问一次该配置地址 | ||
health: | ||
url: | ||
cron: 0 0/20 6-23 * * ? | ||
|
||
|
||
# spring boot 启用调试模式 | ||
debug: true | ||
|
||
|
||
# ========== Spring ========== | ||
spring: | ||
# Spring 数据库 | ||
datasource: | ||
platform: h2 | ||
driver-class-name: org.h2.Driver | ||
url: jdbc:h2:./data/db | ||
username: sa | ||
password: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
chcp 65001 | ||
java -jar -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dspring.profiles.active=dev lib/ShadowSocks-Share-0.0.1-SNAPSHOT.jar --spring.config.location=config/application-dev.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters