update docker demo

This commit is contained in:
anhefti 2019-02-04 16:34:34 +01:00
parent cda50a15e7
commit 346d8ba8e3
2 changed files with 3 additions and 3 deletions

View file

@ -10,6 +10,6 @@ RUN mvn clean install -e -P Demo -DskipTests
FROM openjdk:8-jre-alpine
WORKDIR /demo
COPY --from=1 /demo/target/seb-server-0.1.0-SNAPSHOT.jar /demo
EXPOSE 8090
EXPOSE 8080
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"]

View file

@ -1,5 +1,5 @@
server.address=localhost
server.port=8090
server.port=8080
server.servlet.context-path=/
spring.h2.console.enabled=true
@ -25,7 +25,7 @@ server.servlet.session.tracking-modes=cookie
sebserver.gui.entrypoint=/gui
sebserver.gui.webservice.protocol=http
sebserver.gui.webservice.address=localhost
sebserver.gui.webservice.port=8090
sebserver.gui.webservice.port=8080
sebserver.gui.webservice.apipath=/admin-api/v1