Code Monkey home page Code Monkey logo

dev-containers's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.