Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
133 lines (94 sloc) 4.36 KB


Dev Statuses

CircleCI dependencies Status devDependencies Status

Docker images


The source code of Pager Beauty is maintained by @sergiitk. It's an Open Source project under MIT License. Contributions are welcomed. Follow the usual GitHub Pull Request process.

Be nice.

Running local services


Running local services

  1. Clone the repository
  2. Build an run local Docker container
docker-compose up
  1. Open localhost:8080

PagerBeauty for local development is preconfigured, no .env file is necessary.
It's using Mockserver in place of real PagerDuty API v2: localhost:8090.

Application HTTP server and webpack are running in watch mode. All changes you make should be picked up automatically on the next page refresh: localhost:8080.

Additional version of PagerBeauty with HTTP authentication enabled is available at localhost:8081. Default credentials:



There's a test Grafana with pre-provisioned PagerBeauty board available at http://localhost:3000/d/RUn-WZumz/pagerbeauty. Feel free to use for testing.
Login and pasword are admin.

Additional configuration

Use .env to override the default settings, for example:

Verbose logging


Custom HTTP ports

In case you have another service running on port 8080, the following option will start PagerBeauty on custom port and bind it to the same port on the host.

# Start PagerBeauty on port 8181 in Docker and bind it to port 8181 on the host:
# http://localhost:8181/

In the same manner, you can choose custom port for pagerbeauty-dev-with-auth service:

# Start PagerBeauty with enabled HTTP authentication on port 8182
# in Docker and bind it to port 8181 on the host:
# http://localhost:8182/

To change PagerDuty Mock API port, you need to update the following

# Use custom port for PagerDuty Mock API:
# Instruct PagerBeauty use different PagerDuty API:

You can configure grafana local port with:


Using real PagerDuty API

# Use real API

Note, using real PagerDuty API will break local acceptance tests. It shouldn't be a problem for a routine development.


Installing new packages

docker-compose run --rm yarn add --dev your_package

Running linter

We mostly adhere to Airbnb JavaScript Style, with minor exceptions.

docker-compose run --rm yarn lint

Running tests

docker-compose run --rm yarn test:full

Running acceptance tests

docker-compose run --rm yarn test:acceptance


Ask me on Twitter: @sergiitk

You can’t perform that action at this time.