Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (25 loc) · 1.05 KB

File metadata and controls

30 lines (25 loc) · 1.05 KB

Enterprise Backup with NGINX File Server

Demonstrates backing up a 3 node cluster to a remote file server using NGINX. Relevant documentation can be found here:

Services

  • crdb-0 - CockroachDB node
  • crdb-1 - CockroachDB node
  • crdb-2 - CockroachDB node
  • lb - HAProxy acting as load balancer
  • fileserver - NGINX acting as remote file server

Getting started

  1. because operation order is important, execute ./up.sh CRDB_ORG CRDB_LICENSE_KEY instead of docker-compose up where CRDB_ORG is and CRDB_LICENSE_KEY is
  2. visit the CockroachDB UI @ http://localhost:8080
  3. visit the HAProxy UI @ http://localhost:8081
  4. have fun!

Helpful Commands

Open Interactive Shells

docker exec -ti crdb-0 /bin/bash
docker exec -ti crdb-1 /bin/bash
docker exec -ti crdb-2 /bin/bash
docker exec -ti lb /bin/sh
docker exec -ti fileserver /bin/sh