docker-example-nginx-tomcat-mysql
docker-example-nginx-tomcat-mysql copied to clipboard
nginx 80 port no service available
503 Service Temporarily Unavailable
You will need to leave a little more detail as to what you are trying to report
Hi :) This is what I am experiencing after having composed your nice dockers... on an OSX sierra env.
- compose up (using port -p "90:80" because port 80 busy on my comp) - runs fine
- calling localhost:90 -> 503 - but this: very "quickly" ;) calling http://localhost:90/example-webapp -> same result 503
I have to say, that I never used nginx ... so I have first to learn ... but if you kindly could tell me what could be wrong here ...
seems the nginx config file be missing ... ?
Thanks
Change the VIRTUAL_HOST in docker-compose.yml file for all the tomcat container to 'localhost' from 'mulligan....'. This will solve the issue
Yes, you are right - thank you 👍
Meanwhile I do not use nginx at all, because I need stickiness, which is not avail. for free for nginx and after all a docker swarm can manage balancing.
@redskate It will be great if you offer an example script or a link.