docker
This commit is contained in:
parent
9793304ead
commit
94a75735ee
2 changed files with 4 additions and 3 deletions
|
@ -13,6 +13,6 @@ COPY --from=1 /demo/target/seb-server-0.1.0-SNAPSHOT.jar /demo
|
||||||
|
|
||||||
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/ --server.address=0.0.0.0 --spring.profiles.active=demo"]
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
|
@ -1,4 +1,4 @@
|
||||||
server.address=localhost
|
server.address=0.0.0.0
|
||||||
server.port=8080
|
server.port=8080
|
||||||
server.servlet.context-path=/
|
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.endpoint=/exam-api/v1
|
||||||
sebserver.webservice.api.exam.accessTokenValiditySeconds=1800
|
sebserver.webservice.api.exam.accessTokenValiditySeconds=1800
|
||||||
sebserver.webservice.api.exam.refreshTokenValiditySeconds=-1
|
sebserver.webservice.api.exam.refreshTokenValiditySeconds=-1
|
||||||
|
sebserver.webservice.api.redirect.unauthorized=http://=0.0.0.0:8080/gui
|
||||||
|
|
||||||
sebserver.webservice.api.redirect.unauthorized=none
|
sebserver.webservice.api.redirect.unauthorized=none
|
||||||
|
|
||||||
|
@ -24,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=0.0.0.0
|
||||||
sebserver.gui.webservice.port=8080
|
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