diff --git a/docker/demo/DOCKERFILE b/docker/demo/DOCKERFILE index 795a0a2f..5a66f7af 100644 --- a/docker/demo/DOCKERFILE +++ b/docker/demo/DOCKERFILE @@ -13,6 +13,6 @@ COPY --from=1 /demo/target/seb-server-0.1.0-SNAPSHOT.jar /demo 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/ --server.address=0.0.0.0 --spring.profiles.active=demo"] EXPOSE 8080 \ No newline at end of file diff --git a/src/main/resources/config/application-demo.properties b/src/main/resources/config/application-demo.properties index 08f7a6da..d648188c 100644 --- a/src/main/resources/config/application-demo.properties +++ b/src/main/resources/config/application-demo.properties @@ -1,4 +1,4 @@ -server.address=localhost +server.address=0.0.0.0 server.port=8080 server.servlet.context-path=/ @@ -16,6 +16,7 @@ sebserver.webservice.api.admin.refreshTokenValiditySeconds=-1 sebserver.webservice.api.exam.endpoint=/exam-api/v1 sebserver.webservice.api.exam.accessTokenValiditySeconds=1800 sebserver.webservice.api.exam.refreshTokenValiditySeconds=-1 +sebserver.webservice.api.redirect.unauthorized=http://=0.0.0.0:8080/gui sebserver.webservice.api.redirect.unauthorized=none @@ -24,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.address=0.0.0.0 sebserver.gui.webservice.port=8080 sebserver.gui.webservice.apipath=/admin-api/v1