Skip to content

A simple Java Web application deployed as a Docker container

License

Notifications You must be signed in to change notification settings

omerio/graphviz-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphviz-webapp

A simple Java Web application deployed as a Docker container and run as part of a Kubernetes cluster.

Getting Started

Checkout the project

git clone https://github.com/omerio/graphviz-webapp 
cd graphviz-webapp

To build a docker image:

docker build -t graphviz-webapp .

To run the container:

docker run -d -p 8080:8080 graphviz-webapp

To deploy the image to the Docker hub:

# tag the image
docker tag <IMAGE-ID> omerio/graphviz-webapp:latest
# login to the docker hub
docker login --username=blah --password=blah --email=blah@gmail.com
# push the image
docker push omerio/graphviz-webapp

Optionally, if you are using Google Container Engine, to deploy the image to the Google Container Registry:

# tag the image
docker tag graphviz-webapp gcr.io/<YOUR-PROJECT_ID>/graphviz-webapp
# push the image
gcloud docker push gcr.io/<YOUR-PROJECT_ID>/graphviz-webapp

About

A simple Java Web application deployed as a Docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published