ayshvab / devops-example-app

devops-example-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>" ays4/devops-example-app
# open http://0.0.0.0:3000 in browser

Requirements

  • 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.

See most active contributors on hexlet-friends.

About

devops-example-app


Languages

Language:JavaScript 54.3%Language:Makefile 20.0%Language:Pug 12.7%Language:HCL 7.3%Language:Dockerfile 3.7%Language:Shell 2.0%