Coder Social home page Coder Social logo

local-docker-db's Introduction

Local Docker DB

A collection of Docker Compose files I've used to quickly spin up local databases of various sorts.

Included Databases

Database Docker Compose Configuration Website
Aerospike ./aerospike https://aerospike.com/
ClickHouse ./clickhouse https://clickhouse.tech/
DynamoDB ./dynamo https://aws.amazon.com/dynamodb/
Fauna ./fauna https://fauna.com/
MariaDB ./maria https://mariadb.org/
MeiliSearch ./meilisearch https://meilisearch.com/
MongoDB ./mongo https://mongodb.com/
NebulaGraph ./nebulagraph https://nebula-graph.io/
MySQL ./mysql https://mysql.com/
PostgreSQL ./postgres https://postgresql.org/
Redis ./redis https://redis.io/
RedPanda ./redpanda https://vectorized.io/
ScyllaDB ./scylla https://scylladb.com/
SQL Server ./mssqlserver https://www.microsoft.com/sql-server/
Tarantool ./tarantool https://tarantool.io/
TiDB ./tidb https://pingcap.com/
YugaByteDB ./yugabyte https://yugabyte.com/

Usage

Clone the repo or copy a docker-compose.yml file to your system, cd into that directory, and turn it on with docker-compose up (unless otherwise noted by the directory's README.md). You may also use a docker-compose.override.yml file inside this repository to customize a container.

For a full reference on how to use Docker Compose, go here.

Local Persistence

In each setup, a managed volume is created to persist each container's data. This volume can be deleted by passing the -v option when deleting the container.

docker-compose down -v

Contributions

If you have a Docker Compose configuration for a database not seen here, please consider making a pull request to add it!

TODO

  • add data volume binding for each database
  • add all possible environment variables
  • add example how to connect with client, with or without docker (have client program installed), and with go

local-docker-db's People

Contributors

alexmacarthur avatar kokizzu avatar hugodf avatar myspotontheweb avatar rjschave avatar

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.