softwareyoga / docker-tomcat-tutorial Goto Github PK
View Code? Open in Web Editor NEWA basic tutorial on running a web app on Tomcat using Docker
A basic tutorial on running a web app on Tomcat using Docker
Re https://www.cprime.com/resources/blog/deploying-your-first-web-app-to-tomcat-on-docker/
there is a space missing in the "$ git clonehttps://github.com/softwareyoga/docker-tomcat-tutorial.git" line
and at the end, it says "Open http://localhost:80/ in a browser to see the sample web application running."
but a better conclusion would be "Open http://localhost:80/sample" because that is where the sample.war is actually running
I really appreciate the simplicity of the sample application but am not sure it's working like I expect. The Tomcat log shows that the application is deployed but if I do:
curl http://localhost/sample
I get no output whatsoever. This doesn't seem right. I expected a Hello message but there's nothing. Can anyone advise?
Hello,
Using your tutorial I have successfully able to create the docker image and also able to run the same. Thanks.
Now one thing I am stuck here is that from the Tomcat home page, I am trying to go to the Manager App, but it is asking for login credentials. Can you kindly let me know what value i should put it?
Also if I want to deploy another war file, then how do I configure my dockerfile in such a way that when I run the docker image, it will directly launch the application for me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.