HUB
Sign inSign up

hexletcomponents/devops-example-app

By hexletcomponents

•Updated 5 days ago

Image
2

1M+

hexletcomponents/devops-example-app repository overview

⁠DevOps example app

CI status Count docker images pulls

This is a simple node application that shows on the main page server on which it is running and report errors to Rollbar⁠.

⁠Usage

docker run -p 3000:3000 -e SERVER_MESSAGE="Hexlet Awesome Server" -e ROLLBAR_TOKEN="<your token>" hexletcomponents/devops-example-app
# open http://0.0.0.0:3000 in browser

⁠Requirements

  • Node 14.x
  • Make

⁠Install

make setup

You may pass environment variable SERVER_MESSAGE, and its value shows on the main page.

Edit .env file to set up environment variables.

SERVER_MESSAGE="Hexlet Awesome Server"
ROLLBAR_TOKEN=<your token>

⁠Start application

make start
# open http://0.0.0.0:3000 in browser

Screen of devops-example-app


Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian)⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:1167b6940…
Size
185.4 MB
Last updated
5 days ago
docker pull hexletcomponents/devops-example-app:latest