Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/namikazebadri/starterkit-playframework

PlayFramework project template with a lot of basic project must-have features, such as containerization and deployments to GCR, ECR, Dockerhub and regular old VM using Github Actions. Also Unit Test, Code Coverage, Static Analysis and Staged Flow (such as dev, staging, uat and production) are part of this project template repository.
https://github.com/namikazebadri/starterkit-playframework

docker docker-image dockerfile dockerhub java play-framework playframework-application project-template

Last synced: 2 days ago
JSON representation

PlayFramework project template with a lot of basic project must-have features, such as containerization and deployments to GCR, ECR, Dockerhub and regular old VM using Github Actions. Also Unit Test, Code Coverage, Static Analysis and Staged Flow (such as dev, staging, uat and production) are part of this project template repository.

Awesome Lists containing this project

README

        

# PlayFramework Docker Image

Build docker image for PlayFramework application.

## Build Image

To build image run this command (__change the tag name & version with your preferred tag name & version__).

`$ docker build . -t myorganization/myimage:1.0.0`

## Running Container from Image

To create a container from the image, run this command (__change the tag name & version with your preferred tag name & version__).

`$ docker run -d -p 9000:9000 --name play-app myorganization/myimage:1.0.0`

Then you can access the app from the browser with this url: `http://127.0.0.1:9000`

## Dockerhub image

This repository is proven by running build in dockerhub, you can see the result [here](https://hub.docker.com/r/namikazebadri/play-app).