Skip to content
web server, put into a docker container, and stored at the Amazon Elastic Container Registry (ECR), hosted in VPC via ECS
Shell Java Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf starting point Sep 8, 2019
explicit
gradle/wrapper
implicit
src
.gitignore
Dockerfile
README.md
build.gradle
docker-compose.yml
ecr_push.sh
gradlew
gradlew.bat
settings.gradle

README.md

From the Docks to the Gate

"From the Docks to the Gate is a story about a simple service that answers only one question, if a given number is prime. The core problem is first solved with a Java class, which is then wrapped into a WebServlet and tested within a web server environment. The web server however does not get directly installed, but a docker image is created, containing all aforementioned components. Eventually, once sufficiently tested, the docker container is pushed into a container registry, from which it is deployed and run. The simple service is finally made public and available to the world, scalable, all without having to manage servers or clusters."

Prime Service on Tomcat

  • build the project using the build task
  • create the docker image:
  • start docker / docker desktop and login
  • in Terminal enter "docker build -t tomcatprime ."
You can’t perform that action at this time.