parent
9b306f83f0
commit
d12ee233e8
3 changed files with 19 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||||||
|
FROM java |
||||||
|
VOLUME /tmp |
||||||
|
ADD docker-springboot-0.0.1-SNAPSHOT.jar app.jar |
||||||
|
RUN bash -c 'touch /app.jar' ENV JAVA_OPTS="" |
||||||
|
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ] |
||||||
@ -0,0 +1,7 @@ |
|||||||
|
spring: |
||||||
|
datasource: |
||||||
|
url: jdbc:mysql://localhost:3306/db-mcms-open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false |
||||||
|
username: root |
||||||
|
password: root |
||||||
|
filters: wall,mergeStat |
||||||
|
type: com.alibaba.druid.pool.DruidDataSource |
||||||
@ -0,0 +1,7 @@ |
|||||||
|
spring: |
||||||
|
datasource: |
||||||
|
url: jdbc:mysql://192.168.1.18:3306/mcms-4.7.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false |
||||||
|
username: root |
||||||
|
password: root |
||||||
|
filters: wall,mergeStat |
||||||
|
type: com.alibaba.druid.pool.DruidDataSource |
||||||
Loading…
Reference in new issue