-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 'Release v24.12' (!359) from release_24.12 into ma…
…ster
- Loading branch information
Showing
39 changed files
with
453 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,16 @@ RUN echo $build; if [ "$build" = "true" ]; then mvn clean package; elif [ -f "/w | |
FROM tomcat:9-jre17 AS assemble | ||
LABEL maintainer="Matthias Geerdsen <[email protected]>" | ||
|
||
ENV DB_SERVER goobi-db | ||
ENV DB_SERVER workflow-db | ||
ENV DB_PORT 3306 | ||
ENV DB_NAME goobi | ||
ENV DB_USER goobi | ||
ENV DB_PASSWORD goobi | ||
|
||
RUN ["/bin/bash","-c", "mkdir -p /opt/digiverso/goobi/{activemq,config,lib,metadata,rulesets,scripts,static_assets,tmp,xslt,plugins/{administration,command,dashboard,export,GUI,import,opac,statistics,step,validation,workflow}}"] | ||
RUN mkdir -p /usr/local/tomcat/conf/Catalina/localhost/ && mkdir -p /usr/local/tomcat/webapps/goobi | ||
RUN mkdir -p /usr/local/tomcat/conf/Catalina/localhost/ && mkdir -p /usr/local/tomcat/webapps/workflow | ||
|
||
COPY install/docker/goobi.xml.template /usr/local/tomcat/conf/goobi.xml.template | ||
COPY install/docker/goobi.xml.template /usr/local/tomcat/conf/workflow.xml.template | ||
COPY install/config/ /opt/digiverso/goobi/config/ | ||
COPY install/rulesets/ /opt/digiverso/goobi/rulesets/ | ||
COPY install/scripts/ /opt/digiverso/goobi/scripts/ | ||
|
@@ -29,7 +29,7 @@ COPY install/docker/setenv.sh /usr/local/tomcat/bin/setenv.sh | |
COPY install/docker/server.xml /usr/local/tomcat/conf/server.xml | ||
COPY install/docker/run.sh /run.sh | ||
COPY install/docker/log4j.xml /opt/digiverso/log4j.xml | ||
COPY install/docker/log4j2.xml /opt/digiverso/log4j.xml | ||
COPY install/docker/log4j2.xml /opt/digiverso/log4j2.xml | ||
|
||
COPY install/docker/dummy.sh /opt/digiverso/goobi/scripts/ | ||
RUN sed -i 's/^script_createSymLink=script_createSymLink.sh/script_createSymLink=dummy.sh/' /opt/digiverso/goobi/config/goobi_config.properties | ||
|
@@ -58,12 +58,16 @@ RUN apt-get update && \ | |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
rm -rf ${CATALINA_HOME}/webapps/* | ||
|
||
# redirect / to /goobi/ | ||
# redirect / to /workflow/ | ||
RUN mkdir ${CATALINA_HOME}/webapps/ROOT && \ | ||
echo '<% response.sendRedirect("/goobi/"); %>' > ${CATALINA_HOME}/webapps/ROOT/index.jsp | ||
echo '<% response.sendRedirect("/workflow/"); %>' > ${CATALINA_HOME}/webapps/ROOT/index.jsp | ||
|
||
COPY --from=build /workflow/target/*.war / | ||
RUN unzip /*.war -d /usr/local/tomcat/webapps/goobi && rm /*.war | ||
RUN unzip /*.war -d /usr/local/tomcat/webapps/workflow && rm /*.war | ||
|
||
# Manually patch this until 'workflow' is used everywhere | ||
RUN sed -i 's/goobi\.xml/workflow\.xml/g' /run.sh | ||
RUN sed -i 's/\/goobi\/jvmtemp/\/workflow\/jvmtemp/g' /run.sh | ||
|
||
EXPOSE 8080 | ||
CMD ["/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule docs
added at
ab1ea8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.