Skip to content

Monorepo containing all the Demeris backend code and infrastructure definitions.

License

Notifications You must be signed in to change notification settings

EmerisHQ/demeris-backend

Repository files navigation

Build docker images

Emeris Backend

This is the entry-point project for the Emeris backend system.

Intro to Emeris

The following blog posts give a good, high-level overview of the product's vision.

Architecture

The Emeris backend can be summarised as a multi-blockchain indexer.

Emeris backend architecture

Original diagram is here

Components

CI/CD

The Github actions to deploy to various envs are in the .github subfolder.

The CI/CD workflows are described in the following diagram

Emeris CI/CD Original diagram is here

Each push/merge to a service's main branch (which passes testing), creates a Docker image.
This in turn triggers an automatic deployment to the DEV env.

Local Kubernetes environment

We use Tilt to manage our local development

For more instructions see this page.

Local Grafana credentials

When monitoring is enabled, Grafana is installed with default credentials and will ask for a password change on first setup. Find below the default credentials

Username: admin Password: admin

Github secrets

The Github actions of this repo are using the following secrets

Secret Notes Source
SLACK_PROD_ALERTS Webhook to the #emeris-alerts channel Alerts-PROD
SLACK_STAGING_ALERTS Webhook to the #emeris-alerts-staging channel Alerts-Staging
SLACK_BACKEND_GHN Webhook to the #emeris-backend-ghn channel Backend-GHN
KUBECONFIG DEV K8s cluster configuration -
KUBECONFIG_B64 Dev K8s cluster configuration (Base64) -
KUBECONFIG_STAGING Staging K8s cluster configuration -
KUBECONFIG_STAGING_B64 Staging K8s cluster configuration (Base64) -
KUBECONFIG_PROD PROD K8s cluster configuration -
KUBECONFIG_PROD_B64 PROD K8s cluster configuration (Base64) -
FIXER_KEY API key for token fiat prices CoinLayer API

About

Monorepo containing all the Demeris backend code and infrastructure definitions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published