Skip to content

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

License

Notifications You must be signed in to change notification settings

BitPatty/dev-containers

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

Image Port Username/Key Password/Secret
CockpitCMS (Latest) 7320 admin admin
Elasticsearch 7.10.2 (Cluster)
You might have to change the
max_map_count
9200 (Elasticsearch)
5601 (Kibana)
3002 (Enterprise Search)
elastic elastic
Elasticsearch 7.10.2 (Single-Node) 9200 (Elasticsearch)
5601 (Kibana)
3002 (Enterprise Search)
elastic elastic
Elasticsearch 7.16.1 (Single-Node) 9200 (Elasticsearch)
5601 (Kibana)
elastic elastic
Imgproxy (Latest / Signed) 8100 devel (Salt) devel (Secret)
Imgproxy (Latest) 8100 - -
MariaDB (Latest) 3306 devel devel
MariaDB 10.1 3306 devel devel
MariaDB 10.5.8 3306 devel devel
MariaDB 10.5.9 3306 devel devel
Minio (Latest) 9000
9001 (new console)
minio_devel minio_devel
Minio (RELEASE.2021-06-17T00-10-46Z) 9000 (old console) minio_devel minio_devel
MongoDB (Latest) 27017 root root
MongoDB 4.4 27017 root root
MySQL (Latest) 3306 devel devel
MySQL 5.7 3306 devel devel
MSSQL-Server 2019 1433 devel devel
Postgres (Latest) 5432 devel devel
RabbitMQ (Latest) 15672 devel devel
Redis (Latest) 6379 - devel
SonarScanner 4.4.0.2170 - - -
Traccar 4.10 8082 - -

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published