update docker demo
This commit is contained in:
parent
cda50a15e7
commit
346d8ba8e3
2 changed files with 3 additions and 3 deletions
|
@ -10,6 +10,6 @@ RUN mvn clean install -e -P Demo -DskipTests
|
||||||
FROM openjdk:8-jre-alpine
|
FROM openjdk:8-jre-alpine
|
||||||
WORKDIR /demo
|
WORKDIR /demo
|
||||||
COPY --from=1 /demo/target/seb-server-0.1.0-SNAPSHOT.jar /demo
|
COPY --from=1 /demo/target/seb-server-0.1.0-SNAPSHOT.jar /demo
|
||||||
EXPOSE 8090
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["sh", "-c"]
|
ENTRYPOINT ["sh", "-c"]
|
||||||
CMD ["java -jar seb-server-0.1.0-SNAPSHOT.jar --spring.config.location=classpath:/config/,file:/demo/externalResources/ --spring.profiles.active=demo"]
|
CMD ["java -jar seb-server-0.1.0-SNAPSHOT.jar --spring.config.location=classpath:/config/,file:/demo/externalResources/ --spring.profiles.active=demo"]
|
|
@ -1,5 +1,5 @@
|
||||||
server.address=localhost
|
server.address=localhost
|
||||||
server.port=8090
|
server.port=8080
|
||||||
server.servlet.context-path=/
|
server.servlet.context-path=/
|
||||||
|
|
||||||
spring.h2.console.enabled=true
|
spring.h2.console.enabled=true
|
||||||
|
@ -25,7 +25,7 @@ server.servlet.session.tracking-modes=cookie
|
||||||
sebserver.gui.entrypoint=/gui
|
sebserver.gui.entrypoint=/gui
|
||||||
sebserver.gui.webservice.protocol=http
|
sebserver.gui.webservice.protocol=http
|
||||||
sebserver.gui.webservice.address=localhost
|
sebserver.gui.webservice.address=localhost
|
||||||
sebserver.gui.webservice.port=8090
|
sebserver.gui.webservice.port=8080
|
||||||
sebserver.gui.webservice.apipath=/admin-api/v1
|
sebserver.gui.webservice.apipath=/admin-api/v1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue