HUB
Sign inSign up

vairome/pern-server

By vairome

•Updated over 3 years ago

Image
0

408

vairome/pern-server repository overview

⁠Docker Image with a Express.js REST API

This is an image which contains an a Express.js API to connect to a Postgres DB, which has port 5000 released to run.

In addition, this image is linked to a GitHub Actions that updates the static content of the website which triggers on any change push or pull request events from the master branch. It also contains a gitHubb Actions workflow to build and push a docker image tho Docker Hub, updating the tags to maintain previous version of the image.

⁠How does the github actions works?

It has one main job, when a change is pushed to the master branch into the app directory, the action runs a job for login to Docker Hub, and push the image to a repository, with a function to rename tags automatically to maintain previuos images.

⁠🚀 Quick reference

• Maintained by: Byron Murillo

• Where go to get help: https://github.com/vairome/k8s-app/issues⁠

• Latest

⁠How to use this image

⁠Pull and build a container from the image

The first step is pull the image from docker hub.

$ docker pull vairome/pern-server

The next step is run the image in an interactive mode, specifying to use port 5000

$ docker run -it -p 5000:5000 --name [name or your image] vairome/pern-server

To finish we only verify in http://localhost:5000/⁠ to visualize the react application working.

⁠License

MIT⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:212a1918e…
Size
45.8 MB
Last updated
over 3 years ago
docker pull vairome/pern-server:latest