This repository contains a collection of docker-compose files and images for various applications that I use on a regular basis.
Clone the repository and run the following command:
docker-compose -f <compose-file> up -d
Where <compose-file>
is the name of the compose file you want to use.
The collection is structured as follows:
cassandra
folder contains a compose file for a cassandra database.kafka
folder contains a compose file kafka development environment.ms-sql
folder contains a compose file for a microsoft sql server database.postgres
folder contains a compose file for a postgres database.redis
folder contains a compose file for a redis database.own
folder contains custom docker images.
Other files in the root are unsorted and may be moved in the future.
Cassandra has only one variation cassandra-mini.yml
-
a minimalistic cassandra setup with a single node.
Kafka has following variations:
kafka-confluent-ui.yml
- a kafka setup with a single broker and a single zookeeper instance and kafka-ui. It also includes a health check for each service.kafka-confluent-rd.yml
- the same askafka-confluent-ui
but with redpanda ui instead of kafka-ui.kafka-mini.yml
- a minimalistic kafka setup with a single broker and a single zookeeper instance.kakfa-ui.yml
- the same askafka-mini
and a connected kafka-ui instance.
Postgres has following variations:
postgres-mini.yml
- a minimalistic postgres setup with a single database. Loads theinit.sql
file on startup.postgres-adminer.yml
- the same aspostgres-mini
and a connected adminer instance.postgres-dbgate.yml
- the same aspostgres-mini
and a connected dbgate instance.postgres-pgadmin.yml
- the same aspostgres-mini
and a connected pgadmin instance.
Redis has following variations:
redis-commander.yml
- a minimalistic redis setup with a single database and a connected redis-commander instance.redis-stack.yml
- uses redis-stack to combine redis and redis-insight into a single stack.
This folder contains custom docker images that I use for development:
sbt-docker-temurin.dockerfile
- a slightly modified version of the officialsbt
imagesbtscala/scala-sbt
with Temurin JDK. Modified to enable docker builds inside the container.