Skip to content

jas-chen/tomcat6-jre7-ssl-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tomcat 6 with SSL and Admin user configuration

ports

  • 8080 for http
  • 8443 for https
  • 8000 for debug

volumes

  • /webapp
  • /logs

Tomcat admin

  • admin:b1uKcRK3r6SZ

Usage

Run an app in /Users/jas/myapp

docker run -it --rm -p 80:8080 -p 443:8443 -v /Users/jas/myapp:/webapp jaschen/tomcat6-jre7-ssl-admin

You can browse the app at http://localhost/

or https://localhost/ for https.

(if you are using boot2docker, the ip will be 192.168.59.103)

You can use admin:b1uKcRK3r6SZ to manage Tomcat at

With logs

docker run -it --rm -p 80:8080 -p 443:8443 -v /Users/jas/myapp:/webapp -v /Users/jas/logs:/logs jaschen/tomcat6-jre7-ssl-admin

Goto /Users/jas/logs and you will find logs.

Add JAVA_OPTS (eg. remote debug)

docker run -it --rm -e JAVA_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n' -p 80:8080 -p 443:8443 -p 8000:8000 -v /Users/jas/myapp:/webapp jaschen/tomcat6-jre7-ssl-admin

Based on

About

Tomcat 6 with SSL and Admin user configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages