
* revert deployment changes * update docker and compose for previous deployment * minor readme update * use package instead of install this avoids exploding war file in tomcat but seems to be missing overlays for VIVO theme * test docker workflow * test deploy workflow * add package profile for home * skip deploy for installer * skip installer by profile * update workflows * minor readme update * use app-name for vivo log file name * Update log4j.properties Co-authored-by: William Welling <wwelling@library.tamu.edu>
20 lines
471 B
Docker
20 lines
471 B
Docker
FROM tomcat:9-jdk11-openjdk
|
|
|
|
ARG SOLR_URL=http://localhost:8983/solr/vivocore
|
|
ARG VIVO_DIR=/usr/local/vivo/home
|
|
ARG TDB_FILE_MODE=direct
|
|
|
|
ENV SOLR_URL=${SOLR_URL}
|
|
ENV JAVA_OPTS="${JAVA_OPTS} -Dtdb:fileMode=$TDB_FILE_MODE"
|
|
|
|
RUN mkdir /usr/local/vivo
|
|
RUN mkdir /usr/local/vivo/home
|
|
|
|
COPY ./installer/home/target/vivo /vivo-home
|
|
COPY ./installer/webapp/target/vivo.war /usr/local/tomcat/webapps/ROOT.war
|
|
|
|
COPY start.sh /start.sh
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["/bin/bash", "/start.sh"]
|