Skip to content

Commit 6410800

Browse files
Merge pull request #100 from OneBusAway/acta-root
Make enterprise-acta-webapp accessible at `/`
2 parents bd098da + e4347db commit 6410800

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

oba/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ COPY ./config/onebusaway-api-webapp-data-sources.xml ./WEB-INF/classes/data-sour
7272
RUN cp $CATALINA_HOME/lib/mysql-connector-j-8.3.0.jar ./WEB-INF/lib
7373
RUN mv /oba/webapps/onebusaway-api-webapp $CATALINA_HOME/webapps
7474

75-
WORKDIR /oba/webapps/onebusaway-enterprise-acta-webapp
75+
WORKDIR /oba/webapps/ROOT
7676
RUN cp /oba/libs/onebusaway-enterprise-acta-webapp-${OBA_VERSION}.war .
7777
RUN jar xvf onebusaway-enterprise-acta-webapp-${OBA_VERSION}.war
7878
RUN rm onebusaway-enterprise-acta-webapp-${OBA_VERSION}.war
7979
COPY ./config/onebusaway-enterprise-acta-webapp-data-sources.xml ./WEB-INF/classes/data-sources.xml.bak
8080
RUN cp $CATALINA_HOME/lib/mysql-connector-j-8.3.0.jar ./WEB-INF/lib
81-
RUN mv /oba/webapps/onebusaway-enterprise-acta-webapp $CATALINA_HOME/webapps
81+
RUN mv /oba/webapps/ROOT $CATALINA_HOME/webapps
8282

8383
RUN rm -rf /oba/libs
8484

oba/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ else
113113
fi
114114

115115
# Google map related environment variables
116-
ENTERPRISE_ACTA_WEBAPP_XML_FILE="$CATALINA_HOME/webapps/onebusaway-enterprise-acta-webapp/WEB-INF/classes/data-sources.xml"
116+
ENTERPRISE_ACTA_WEBAPP_XML_FILE="$CATALINA_HOME/webapps/ROOT/WEB-INF/classes/data-sources.xml"
117117
BEAN_ID="configurationServiceClient"
118118
LOCAL_JSON_FILE="/var/lib/oba/config.json"
119119
# Idempotence

0 commit comments

Comments
 (0)