rdcm / coin-board

Backend for dashboard with cryptocurrencies rates
https://coin-board.io/
0 stars 0 forks source link
actix-web coingecko-api cryptocurrencies cryptocurrency digitalocean docker docker-compose grafana helm k8s kubernetes make mongodb prometheus rust

Up & Running

make help - for getting full list of commands

Local::Docker

  1. make docker-build - build docker images
  2. make docker-up - up & running docker containers
  3. make docker-down - down docker containers

Local::Docker::Endpoints

Local::Kubernetes

  1. make create-secrets username={github_username} token={github_token} - generate secrets for github registry
  2. make deploy-secrets - deploying github-registry.yaml for pulling private images
  3. make deploy-coin-board-dev - deploying applications
  4. (optional)make deploy-monitoring-dev - deploying infrastructure for monitoring

Local::Kubernetes::Endpoints

Applications:

Monitoring tools:

Digitalocean::Kubernetes

  1. make create-secrets username={github_username} token={github_token} - generate secrets for github registry
  2. make deploy-secrets - deploying github-registry.yaml for pulling private images
  3. make deploy-ingress-controller - deploying ingress-controller
  4. make deploy-cert-manager - deploying cert-manager
  5. make deploy-cluster-issuer - deploying cluster-issuer
  6. make deploy-coin-board-prod - deploying applications
  7. make deploy-monitoring-prod - deploying infrastructure for monitoring
  8. make trigger-export - for exporting currency rates immediately
  9. Enjoy!

Digitalocean::Kubernetes::Endpoints

Applications:

Monitoring tools: