Improve docker image.
parent
b9bd733e5e
commit
00935dbb93
|
@ -1,5 +1,7 @@
|
||||||
FROM amazoncorretto:17.0.10
|
FROM amazoncorretto:17.0.10
|
||||||
|
LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>"
|
||||||
|
|
||||||
VOLUME /tmp
|
VOLUME /tmp
|
||||||
COPY target/wisemapping-api.jar app.jar
|
COPY target/wisemapping-api.jar wisemapping-api.jar
|
||||||
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.jar ${0} ${@}"]
|
|
||||||
|
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /wisemapping-api.jar ${0} ${@}"]
|
|
@ -1,4 +1,8 @@
|
||||||
# SpringBoot Configuration ...
|
# SpringBoot Configuration ...
|
||||||
|
server:
|
||||||
|
tomcat:
|
||||||
|
remote-ip-header: x-forwarded-for
|
||||||
|
protocol-header: x-forwarded-proto
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
mail:
|
mail:
|
||||||
|
@ -71,7 +75,7 @@ app:
|
||||||
# Redirect to this url, this url must be configured in the google app {baseurl}/c/registration-google
|
# Redirect to this url, this url must be configured in the google app {baseurl}/c/registration-google
|
||||||
#security.oauth2.google.callbackUrl=<oauth callback url>
|
#security.oauth2.google.callbackUrl=<oauth callback url>
|
||||||
security:
|
security:
|
||||||
# corsAllowedOrigins: https://dev.wisemapping.com
|
# corsAllowedOrigins: https://dev.wisemapping.com
|
||||||
oauth2:
|
oauth2:
|
||||||
google:
|
google:
|
||||||
confirmUrl: https://oauth2.googleapis.com/token
|
confirmUrl: https://oauth2.googleapis.com/token
|
||||||
|
|
Loading…
Reference in New Issue