GithubHelp home page GithubHelp logo

vongrossi / cockroachdb-arm64 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from christoofar/cockroachdb-arm64

0.0 1.0 0.0 8 KB

The Latest Stable build of CockroachDB for ARM64

License: MIT License

Dockerfile 51.73% Shell 48.27%

cockroachdb-arm64's Introduction

CockroachDB

CockroachDB for ARM64 (v8)

This is a recent-edition build of CockroachDB for ARM64 devices, namely machines like RaspberryPI and PINE64 and similar boards with the ARM64v8 chipset.

Docker Hub image available

Docker Hub has the latest built image.

Running image (single instance with 20% memory cache)

Note: This assumes you have a docker network named "proxy" and you're likely creating this on Docker Swarm/k8s. Adjust the docker service create statement to fit your environment/purpose.

sudo mkdir /var/lib/cockroach
sudo mkdir /var/lib/cockroach/data
sudo mkdir /var/lib/cockroach/backup

docker service create --replicas 1 --name cockroachdb-1 --hostname cockroachdb-1 --network proxy \
                --mount type=bind,source=/var/lib/cockroach/data,target=/cockroach/cockroach-data \
                --mount type=bind,source=/var/lib/cockroach/backup,target=/cockroach/backup --stop-grace-period 60s \
                --publish 8090:8080 --publish 26257:26257 christoofar/cockroachdb-arm64 start-single-node \
                --storage-engine=pebble --external-io-dir=/cockroach/backup --cache=.20 --max-sql-memory=.20 --logtostderr \
                --insecure

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.