Skip to content

Commit

Permalink
Enable host-manager application
Browse files Browse the repository at this point in the history
  • Loading branch information
miwurster committed Feb 2, 2018
1 parent d8b48c6 commit 56d5a4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN rm /dev/random && ln -s /dev/urandom /dev/random \

ADD tomcat-users.xml.tpl ${CATALINA_HOME}/conf/tomcat-users.xml.tpl
ADD manager.xml ${CATALINA_HOME}/conf/Catalina/localhost/manager.xml
ADD host-manager.xml ${CATALINA_HOME}/conf/Catalina/localhost/host-manager.xml
ADD server.xml ${CATALINA_HOME}/conf/server.xml

EXPOSE 8080
Expand Down
4 changes: 4 additions & 0 deletions host-manager.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/host-manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
</Context>

0 comments on commit 56d5a4a

Please sign in to comment.