Repo of docker-compose files to spin up database containers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alexey Milovidov 604070759a
Update README.md (#21)
1 year ago
aerospike add 9 more databases (#12) 3 years ago
clickhouse Update README.md (#21) 1 year ago
cockroach [Typesense] add example how to connect with Go (#20) 1 year ago
dynamo Add setup for DynamoDB. 3 years ago
fauna Add FaunaDB. 5 years ago
maria Rename MariaDB directory. 5 years ago
meilisearch add 9 more databases (#12) 3 years ago
mongo Update README files. 5 years ago
mssqlserver Add Microsoft SQL Server (#16) 3 years ago
mysql Typo on README because of copy-paste (#15) 3 years ago
nebulagraph Add NebulaGraph, RedPanda (#13) 3 years ago
postgres Typo on README because of copy-paste (#15) 3 years ago
redis add redis 5 years ago
redpanda Add NebulaGraph, RedPanda (#13) 3 years ago
scylla Update README.md for ScyllaDB (#19) 2 years ago
tarantool add 9 more databases (#12) 3 years ago
tidb Update TiDB TiKV so it use less storage (#18) 2 years ago
typesense [Typesense] add example how to connect with Go (#20) 1 year ago
yugabyte add 9 more databases (#12) 3 years ago
.gitignore Add NebulaGraph, RedPanda (#13) 3 years ago
LICENSE Add LICENSE file. 5 years ago
README.md Add Microsoft SQL Server (#16) 3 years ago

README.md

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