Skip to content

Repository files navigation

dev containers

Bunch of bla bla (=> jump to Usage)

This repository contains some docker-compose files created to make developer lives easier. The goal is to have ready to run services without requiring any kind of additional user configuration. In essence, it should eliminate the following timewasters:

  • Looking up how to setup usernames/passwords
  • Looking up which directories need to be bound to volumes to persist the data
  • Trying to figure out how to make a docker-compose file WSL compatible
  • Allowing a user to easily switch between different versions of the same service
  • Having to remember credentials
  • Worrying about some service cluttering your file system
  • Having to deal with OS Services to shut down a database

While these compose files don't cover every use case they're a good starting point. Note that the compose files and configurations are created on demand (i.e. whenever I need something) and that they are adjusted to my own needs.

The configuration of each service is self contained in their respective directory to allow for copying over only the services you need.

Usage

  1. You need Docker. If you're not on Windows or MacOS you also have to install Docker Compose
  2. Enter the directory of the desired service/version and run docker-compose up -d.

List of Containers

ImagePortUsername/KeyPassword/Secret
CockpitCMS (Latest)7320adminadmin
Elasticsearch 7.10.2 (Cluster)
You might have to change the
max_map_count
9200 (Elasticsearch)
5601 (Kibana)
3002 (Enterprise Search)
elasticelastic
Elasticsearch 7.10.2 (Single-Node)9200 (Elasticsearch)
5601 (Kibana)
3002 (Enterprise Search)
elasticelastic
Elasticsearch 7.16.1 (Single-Node)9200 (Elasticsearch)
5601 (Kibana)
elasticelastic
Imgproxy (Latest / Signed)8100devel (Salt)devel (Secret)
Imgproxy (Latest)8100--
MariaDB (Latest)3306develdevel
MariaDB 10.13306develdevel
MariaDB 10.5.83306develdevel
MariaDB 10.5.93306develdevel
Minio (Latest)9000
9001 (new console)
minio_develminio_devel
Minio (RELEASE.2021-06-17T00-10-46Z)9000 (old console)minio_develminio_devel
MongoDB (Latest)27017rootroot
MongoDB 4.427017rootroot
MySQL (Latest)3306develdevel
MySQL 5.73306develdevel
MSSQL-Server 20191433develdevel
Postgres (Latest)5432develdevel
RabbitMQ (Latest)15672develdevel
Redis (Latest)6379-devel
SonarScanner 4.4.0.2170---
Traccar 4.108082--

DC.sh

This repository contains a dc.sh helper script for bash that simplifies the process of starting the services. It performs pre-condition checks to make sure the required ports are available, and if not, attempts to stop the associated containers before running a new service.

To use it simply run bash ./dc.sh:

DC Preview

About

A collection of ready-to-run docker-compose files for setting up local databases and other development services

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages