Skip to content

This repository have Dockerfiles, docker-compose, dockerignore and specific docker-compose files for system components such as databases, message brokers, cache systems, etc. We created them, so you don't have to.

Notifications You must be signed in to change notification settings

rafaelcascalho/docker-envs-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker envs vault

This repository is intended to serve as a vault to easily dockerize your envs just by copying the files under the folder of your specific tech stack. Beyond that, part of a dockerized environment is to use the other system components (databases, cache systems, message brokers, monitors, etc) with docker as well; but those, many times do not need a Dockerfile of their own, and therefore, a simple docker-compose written correctly already helps to get the service(s) up with all of its system component(s) easily with a single command: docker-compose up.

Advanced Usage

For certain scenarios such as monorepo cases, where you have multiple Dockerfiles and probably a single docker-compose file, for those cases you'd still have some use for the .dockerignore files and the Dockerfiles individually, and for the compose you'd have to recreate it in a way to suit up your needs.

Prerequisites

To use the system components files for something like a database, just install docker and docker compose and follow the instructions below.

UI for System Components

Intending to be a one stop place, every system component, under the infra folder, comes along with an UI, to create easily visualization of the components while they're running.

Ex: pgadmin for PostgreqSQL

Dockerize your project

The Dockerfiles follow good practices such as multi stage builds, which is why you must precise the desired target for the build.

To get it up and running fast, just follow the steps below:

  1. Copy the files from the folder referencing the tech stack of your project (ex: nodejs) to the root of your own project

    • .dockerignore
    • Dockerfile
    • docker-compose.*.yml
  2. Now, just run the docker-compose command with the expected stage image

    docker-compose up --build DESIRED_TARGET

Check the list of supported tech stacks right now

Infra Components (with clients) and tools

  1. Copy the files from the folder referencing the tech stack of your project (ex: nodejs)

    • Dockerfile (case exists)
    • docker-compose.*.yml
  2. Now, just run the docker-compose command with the expected stage image

    docker-compose up

Check the list below of infra components and tools

Databases

Cache

Queues

Tracing

Tools

About

This repository have Dockerfiles, docker-compose, dockerignore and specific docker-compose files for system components such as databases, message brokers, cache systems, etc. We created them, so you don't have to.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published