新增配置文件

master
wk 2019-05-06 16:15:45 +08:00
parent 6fdb607838
commit bc6ad631fa
2 changed files with 19 additions and 0 deletions

5
Dockerfile 100644
View File

@ -0,0 +1,5 @@
FROM primetoninc/jdk:1.8
RUN mkdir -p /data/gm/config/
ADD target/gm_tw_admin-1.0-SNAPSHOT.jar /data/gm/gm_tw_admin-1.0-SNAPSHOT.jar
EXPOSE 8888
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

View File

@ -0,0 +1,14 @@
spring.thymeleaf.cache=false
spring.thymeleaf.content-type=text/html
spring.thymeleaf.mode =LEGACYHTML5
spring.data.mongodb.uri = mongodb://60.1.1.14:27017/ysj_core
spring.data.oldMongodb.uri= mongodb://60.1.1.14:27017
# redis config
spring.redis.host = 60.1.1.14
spring.redis.port = 6379
spring.redis.password =
spring.redis.expireTime = -1
spring.mvc.static-path-pattern=/**