This is a simple node application that shows on the main page server on which it is running and report errors to Rollbar.
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
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>
make start
# open http://0.0.0.0:3000 in browser

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian).
Content type
Image
Digest
sha256:1ec52528b…
Size
184.9 MB
Last updated
about 4 hours ago
docker pull hexletcomponents/devops-example-app