-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from gunbux/infra-notes
Infra notes
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|