Giter Club home page Giter Club logo

local-container-server's Introduction

Local Server Containers

A shared container for micro services. This resource servers (db, redis, rabbitmq, etc.), are meant for local development purposes only.

The objective is driven by concepts of abstraction, resource sharing, and separation of concerns, by having a separate docker project whose purpose is to encapsulate resource containers that other projects can connect to, without having to spin up their own containers for databases and the likes. Thus having more lightweight docker setups for individual projects, and a more appropriate setup for integrated local development across multiple projects.

Prerequisites

  • Docker
  1. Start the containers:
    $ docker compose up
    To check that the container is running, open a terminal window/tab and run docker ps to see info about the currently running docker containers. Any or all of the following container names (depending on the ones you choose to run) should be listed among the running containers:
    • local-postgres
    • local-mariadb
    • local-mysql
    • local-redis
    • local-rabbit
    • local-nats

You can modify the default docker compose command to specify only the services you want started. E.g.

# To start only the mariadb, redis, and nats instances:
$ docker compose up local-mariadb local-redis local-nats

local-container-server's People

Contributors

tfemson avatar

Watchers

 avatar

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.