Skip to content

⚡ RMM ⚡:: 🐳 docker with database for fun development

Notifications You must be signed in to change notification settings

ricardo-melo-martins/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ RMM ⚡

🐳 docker

Docker with large database collection for fun development.

Features

  • Focus on quick start
  • Configurable File
  • MariaDB
    • From latest version
    • UI Adminer
  • Mysql
    • From latest version
    • Sakila database example 1.4
    • UI Adminer
  • Postgres
    • From latest version
    • Sakila database example
    • UI PGAdmin and Adminer
  • Sqlite
    • Chinook database example
    • UI Adminer
  • Redis
  • Sql Server
    • From 2022-latest version
    • AdventureWorks 2022 database example
  • DB2
    • From latest version
  • Mongo
    • From latest version
    • UI Mongo Express
  • VSCode Extensions

Requirements

  • Docker > 18.06
  • Node (Optional for seed data)

Install

Cloooning...

git clone https://github.com/ricardo-melo-martins/docker.git

... entering on docker/

cd docker/

Configure

copy example environment file

cp ./config/.env.example .env

then change the configuration according to the database you want to use.

Running

docker compose up -d

...results

docker up

and Docker Desktop ...

containers

UOW!! now to have fun

Redis

Accessing Terminal

$ docker exec -it rmm_redis_db bash

# in root@<id> type
$ redis-cli

# result ...
# 127.0.0.1:6379>

Testing

$ redis-cli -p 12000

127.0.0.1:6379> auth YourP@ssw0rd! # if same of .env.example
OK
127.0.0.1:6379> set key-status closed
OK
127.0.0.1:6379> get key-status
"closed"

License

Yes ... its free here.

with fun and ❤️ por Ricardo Melo Martins.