This repository contains an example web application built using NodeJs and the Express Framework. The purpose of this application is to provide working examples for CI/CD pipelines in multiple providers. This image is also publicly available in DockerHub at ncloudspublic/sample-app so it can be used in sample deployments, you can find more configuration information below.
Feel free to use this image for any demo or example you want. The image is automatically built and pushed to Docker Hub and is available at ncloudspublic/sample-app
. The image is always tagged with the first 8 characters of the commit id (i.e. 21de35f3).
docker pull ncloudspublic/sample-app:latest
or
docker pull ncloudspublic/sample-app:21de35f3
The application supports the following configurations via environment variables:
Variable | Description | Default |
---|---|---|
PORT | The port the applications listens on | 3000 |
CUSTOM_MESSAGE | A message to display in the default web page | 'This is a sample app :)' |
- On Pull Requests to
main
-> pull_request.yml - On Merge to
main
-> merge.yml
- TBD
- TBD