Sign inSign up

hexletcomponents/devops-example-app

By hexletcomponents

•Updated about 4 hours 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

Content type

Image

Digest

sha256:1ec52528b…

Size

184.9 MB

Last updated

about 4 hours ago

docker pull hexletcomponents/devops-example-app