ralcorta / bd2-containers

BD2 UADE - Docker Config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚀 BD2 - Docker Containers

Docker config

License: MIT

This repository contains a Docker Compose file with a configuration for setting up an environment with each configuration required.

- We can do it
- We will do it
- We will cry doing it
- Jeff Bezos will cry if you don't approve it
- I'll cry if I don't approve
- ✨ Magic ✨

Features

Tips:

For testing apis: Mockaroo

Pre-requisites

Required: Docker and Docker Compose. If you have Windows or Mac, you can install Docker desktop

Operating System Site URL
Mac https://docs.docker.com/docker-for-mac/install
Windows https://docs.docker.com/docker-for-windows/install

If you are on a GNU / Linux distribution and you don't want to type all the commands to install dependencies, you can take a look at this Gist

Installation

Install dependencies and configure containers.

$ sudo docker-compose up -d
[sudo] Run the process in Root mode.  
[docker-compose] The docker extension for managing multiple containers at the same time.  
[top] Docker composition parameter to download, create and configure containers.  
[-d] Create the process in the background. If you want to see the creation of the process and the console, you can remove this flag.  

Remove dockers

If you want to remove the containers created by the docker-compose command, you can type this:

$ sudo docker-compose down -v

Docker Access

After starting the containers you will be able to access them throught their URL:PORT (like localhost:6379)

Aclaration: The ports are listened inside of environment file (.env). You can change it as you like.

Redis: localhost:6379
Redis GUI (redis-commander): localhost:8081

----

Mongo: localhost:27017
Mongo GUI (mongoclient): localhost:3300

----

Neo4J: localhost:7474
Neo4J GUI: localhost:7687

You can use those interfaces or download the one you like the most and access the main services.
Tip: Internally, containers communicate via service names, not localhost.

License

MIT

Free Software, Hell Yeah!

About

BD2 UADE - Docker Config

License:MIT License


Languages

Language:Shell 100.0%