Skip to content

Commit

Permalink
Added proxypass config in apache
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Sep 7, 2016
1 parent 2b61eea commit 447d3b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ RUN rm /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/conf/grouper.hibernate.propert
ln -s /opt/grouper/$version/grouper.hibernate.properties /opt/grouper/2.3.0/grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.hibernate.properties && \
rm /opt/grouper/2.3.0/grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/grouper.hibernate.properties && \
ln -s /opt/grouper/$version/grouper.hibernate.properties /opt/grouper/2.3.0/grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/grouper.hibernate.properties

RUN echo "ProxyPass /grouper/ ajp://localhost:8009/grouper/ retry=0" >> /etc/httpd/conf/httpd.conf
RUN echo "ProxyPass /grouper-ws/ ajp://localhost:8009/grouper-ws/ retry=0" >> /etc/httpd/conf/httpd.conf
RUN echo "ProxyPass /examples/ ajp://localhost:8009/examples/ retry=0" >> /etc/httpd/conf/httpd.conf

RUN ls /root && ls -l /tmp && cat /opt/grouper/$version/grouper.hibernate.properties && cat /opt/grouper/$version/grouper.installer.properties
VOLUME /opt/grouper/$version/apache-tomcat-$TOMCAT_VERSION/logs
VOLUME /etc/httpd/logs

0 comments on commit 447d3b1

Please sign in to comment.