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
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.
See most active contributors on hexlet-friends.