Home

Awesome

Local Docker DB

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

Included Databases

DatabaseDocker Compose ConfigurationWebsite
Aerospike./aerospikehttps://aerospike.com/
ClickHouse./clickhousehttps://clickhouse.tech/
DynamoDB./dynamohttps://aws.amazon.com/dynamodb/
Fauna./faunahttps://fauna.com/
KVRocks./kvrockshttps://kvrocks.apache.org/
MariaDB./mariahttps://mariadb.org/
MeiliSearch./meilisearchhttps://meilisearch.com/
MongoDB./mongohttps://mongodb.com/
NebulaGraph./nebulagraphhttps://nebula-graph.io/
MySQL./mysqlhttps://mysql.com/
PostgreSQL./postgreshttps://postgresql.org/
Redis./redishttps://redis.io/
RedPanda./redpandahttps://vectorized.io/
ScyllaDB./scyllahttps://scylladb.com/
SQL Server./mssqlserverhttps://www.microsoft.com/sql-server/
Tarantool./tarantoolhttps://tarantool.io/
TiDB./tidbhttps://pingcap.com/
YugaByteDB./yugabytehttps://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