Giter Club home page Giter Club logo

demo-java-tomcat's Introduction

demo-java-tomcat

A demo application written in Java that runs on Tomcat

Building

gradle docker 
gradle dockerPush

Running

docker run -p 8080:8080 -it nirmata/demo-java-tomcat:v1

Customize the image color and service name using the following environment variables:

  • SERVICE_NAME
  • SERVICE_COLOR

for example:

docker run -p 8080:8080 -it -e SERVICE_NAME="foo" -e SERVICE_COLOR="blue" nirmata/demo-java-tomcat:v1
docker run -p 8080:8080 -it -e SERVICE_NAME="foo" -e SERVICE_COLOR="green" nirmata/demo-java-tomcat:v1

Endpoints

App Address
Tomcat http://<host>:<port>
Java service http://:/service/

demo-java-tomcat's People

Contributors

dependabot[bot] avatar jimbugwadia avatar

Stargazers

 avatar

Watchers

 avatar  avatar

demo-java-tomcat's Issues

Heads-up on upgrading the docker/build-push-action action to 2.10.0 or beyond

FYI, I spent hours trying to identify failures on builds when attempting to upgrade all the actions versions. In your build step "Get image digest" where you echo out the digest of the built image, they changed this up starting in v2.10.0. You will need to imageid rather than digest to return the real digest. So it becomes steps.docker-build-push.outputs.imageid.

    - name: Get image digest
      id: digest
      run: echo "::set-output name=digest::$(docker inspect ${{ steps.docker-build-push.outputs.imageid }} | jq -r '.[].RepoDigests[0] | split("@") | .[1]')"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.