Browse Source

端口开放

master
wyz 3 years ago
parent
commit
f0a1f78d2d
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      Dockerfile
  2. +1
    -1
      src/main/resources/mybatis-config.xml

+ 2
- 0
Dockerfile View File

@ -2,4 +2,6 @@ FROM openjdk:8-jdk-alpine
VOLUME /tmp/docker-selfmade
ADD target/DeliveryTakingSystem-0.0.2-SNAPSHOT.jar app.jar
EXPOSE 8081
EXPOSE 8080
EXPOSE 80
CMD java -jar app.jar

+ 1
- 1
src/main/resources/mybatis-config.xml View File

@ -24,7 +24,7 @@
<!-- 数据库配置 -->
<environments default="master">
<environments default="dev">
<environment id="dev">
<transactionManager type="JDBC"/>
<dataSource type="POOLED">

Loading…
Cancel
Save