ing
This commit is contained in:
parent
92d3f727e7
commit
497785553d
|
@ -14,13 +14,12 @@ ADD target/${APP_FILENAME} ${APP_HOME_PATH}/
|
||||||
RUN apk add --no-cache curl \
|
RUN apk add --no-cache curl \
|
||||||
&& chmod +x /opt/bin/*.sh
|
&& chmod +x /opt/bin/*.sh
|
||||||
|
|
||||||
ENV TINI_VERSION='0.15.0' \
|
ENV TINI_VERSION='0.17.0' \
|
||||||
TINI_SHA='4007655082f573603c02bc1d2137443c8e153af047ffd088d02ccc01e6f06170'
|
TINI_SHA='4007655082f573603c02bc1d2137443c8e153af047ffd088d02ccc01e6f06170'
|
||||||
|
|
||||||
# Use tini as subreaper in Docker container to adopt zombie processes
|
# Use tini as subreaper in Docker container to adopt zombie processes
|
||||||
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini \
|
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini \
|
||||||
&& chmod +x /bin/tini \
|
&& chmod +x /bin/tini
|
||||||
&& echo "$TINI_SHA /bin/tini" | sha256sum -c -
|
|
||||||
|
|
||||||
VOLUME ${APP_CONF_PATH}
|
VOLUME ${APP_CONF_PATH}
|
||||||
EXPOSE 50006
|
EXPOSE 50006
|
||||||
|
|
|
@ -5,7 +5,7 @@ datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|
||||||
jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
jpa.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||||
jpa.database=postgresql
|
jpa.database=postgresql
|
||||||
jpa.hibernate.ddl-auto=none
|
jpa.hibernate.ddl-auto=create
|
||||||
#jpa.hibernate.ddl-auto=update
|
#jpa.hibernate.ddl-auto=update
|
||||||
jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
|
jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
|
||||||
jpa.show-sql=true
|
jpa.show-sql=true
|
||||||
|
|
6
build/docker/conf/velocity.properties
Normal file
6
build/docker/conf/velocity.properties
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
resource.loader=jar
|
||||||
|
jar.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
|
||||||
|
jar.runtime.log.logsystem.class=org.apache.velocity.runtime.log.SimpleLog4JLogSystem
|
||||||
|
jar.runtime.log.logsystem.log4j.category=velocity
|
||||||
|
jar.resource.loader.cache=true
|
||||||
|
input.encoding=UTF-8
|
|
@ -9,6 +9,7 @@ import org.springframework.mail.SimpleMailMessage;
|
||||||
import org.springframework.mail.javamail.JavaMailSender;
|
import org.springframework.mail.javamail.JavaMailSender;
|
||||||
import org.springframework.mail.javamail.MimeMessageHelper;
|
import org.springframework.mail.javamail.MimeMessageHelper;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.ui.velocity.VelocityEngineUtils;
|
||||||
|
|
||||||
import javax.crypto.Cipher;
|
import javax.crypto.Cipher;
|
||||||
import javax.crypto.spec.IvParameterSpec;
|
import javax.crypto.spec.IvParameterSpec;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user