# 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 ](./aerospike ) | < https: // aerospike . com />
ClickHouse | [./clickhouse ](./clickhouse ) | < https: // clickhouse . tech />
DynamoDB | [./dynamo ](./dynamo/ ) | < https: // aws . amazon . com / dynamodb />
Fauna | [./fauna ](./fauna/ ) | < https: // fauna . com />
MariaDB | [./maria ](./maria/ ) | < https: // mariadb . org />
MeiliSearch | [./meilisearch ](./meilisearch/ ) | < https: // meilisearch . com />
MongoDB | [./mongo ](./mongo/ ) | < https: // mongodb . com />
Add NebulaGraph, RedPanda (#13)
* add clickhouse, cockroach, meilisesarch, scylla, tarantool, tidb cluster, typesense, yugabyte
* Update README.md
* add aerospike
* update README.md aerospike
* remove www
* bugfix docs clickhouse link
* add nebula, redpanda, fix scylla typo
3 years ago
NebulaGraph | [./nebulagraph ](./nebulagraph/ ) | < https: // nebula-graph . io />
MySQL | [./mysql ](./mysql/ ) | < https: // mysql . com />
PostgreSQL | [./postgres ](./postgres/ ) | < https: // postgresql . org />
Redis | [./redis ](./redis/ ) | < https: // redis . io />
Add NebulaGraph, RedPanda (#13)
* add clickhouse, cockroach, meilisesarch, scylla, tarantool, tidb cluster, typesense, yugabyte
* Update README.md
* add aerospike
* update README.md aerospike
* remove www
* bugfix docs clickhouse link
* add nebula, redpanda, fix scylla typo
3 years ago
RedPanda | [./redpanda ](./redpanda ) | < https: // vectorized . io />
ScyllaDB | [./scylla ](./scylla ) | < https: // scylladb . com />
Tarantool | [./tarantool ](./tarantool/ ) | < https: // tarantool . io />
TiDB | [./tidb ](./tidb/ ) | < https: // pingcap . com />
YugaByteDB | [./yugabyte ](./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 ](https://docs.docker.com/compose/reference/ ).
## 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