configure tomEE with Docker

0

Thank you very much for your time, I am learning Docker and tomEE and I would like to configure it took more than a day dealing with everything I found on the web but I still can not even enter the manager I leave my file yml of docker

version: '3'
services:
   tomcat:
      image: tomee
      ports: 
         - "8888:8080"
      volumes:
         - ./codigo_fuente/:/usr/local/tomee/webapps/
      expose: 
         - "8080"
      command: ["catalina.sh", "run"]

also change the xml for the username and password

     <role rolename="manager-gui"/>
  <user username="admin" password="123as" roles="manager-gui"/>

and context located in webapps/manager/META-INF

    <Context privileged="true" antiResourceLocking="false"
         docBase="${catalina.home}/webapps/manager">
  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
         allow="127\.0\.0\.1:8888" />
</Context>

and even with this I hope you can help me greetings and again thank you very much

    
asked by Gilberto Asuaje 06.11.2018 в 07:49
source

0 answers