Skip to content

Commit

Permalink
Merge pull request #1 from gunbux/infra-notes
Browse files Browse the repository at this point in the history
Infra notes
  • Loading branch information
gunbux authored Nov 22, 2023
2 parents f988b75 + 5ec5e97 commit 80897e1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Binary file added assets/infra_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/developer-guide/infra.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: default
title: Database
permalink: /developer-guide/infra/
parent: Developer Guide
nav_order: 6
---

![](../../assets/infra_overview.png)

## Getting Started

* Create a new DO instance (whatever size, need to load test this)
* Setup ssh keys for the instance
* Clone https://github.com/nushackers/hnr-infra
* Run the `./deploy-up.sh` to start all the services, and `./deploy-down.sh` to stop everything

## Droplet Components

* Traefik + Let's Encrypt
* This is the main proxy where all the traffic comes through and gets directed to different containers.

* Prometheus
* Where all the logs are aggregated. This is connected to an external Grafana instance for monitoring

## Observability Tools

* Traefik Metrics
* Node Exporter


0 comments on commit 80897e1

Please sign in to comment.