Skip to content

Tool to deploying databases for a software development environment.

License

Notifications You must be signed in to change notification settings

Canicio/developmentdbtool

Repository files navigation

Development Database Tool

Tool to deploying databases for a software development environment.


Databases

    Mysql Logo     Mysql Logo     Mysql Logo     Mysql Logo     Mysql Logo    

GUIs

    Mysql Logo     Mysql Logo     Mysql Logo     Mysql Logo    


Requirements


Run Mongodb (and Mongo-express)

$ docker-compose -f mongo-compose.yml up -d
Starting mongo         ... done
Starting mongo_express ... done

Go to http://localhost:5002/

Login Mongodb:
user: root
pass: root

Run Mysql (and PhpMyAdmin)

$ docker-compose -f mysql-compose.yml up -d
Starting mysql      ... done
Starting phpmyadmin ... done

Go to http://localhost:5001/

Login PhpMyAdmin:
user: root
pass: root
Login Mysql:
user: root
pass: root

Run Postgres (and PgAdmin)

# Required!:  sudo chown -R 5050:5050 gui_volumes/pgadmin
$ docker-compose -f postgres-compose.yml up -d
Starting postgres ... done
Starting pgadmin  ... done

Go to http://localhost:5000/

Login PgAdmin:
user: user@domain.com
pass: mypass
Login Postgres:
user: postgres
pass: mysecretpassword

Run Cassandra (and Cassandra-Web)

$ docker-compose -f cassandra-compose.yml up -d cassandra
Starting cassandra     ... done
# Wait 30 seconds for the cassandra service to finish getting up
$ docker-compose -f cassandra-compose.yml up -d cassandra-web
Starting cassandra-web ... done

Go to http://localhost:5003/

Run MariaDB (and PhpMyAdmin)

$ docker-compose -f mariadb-compose.yml up -d
Starting mariadb    ... done
Starting phpmyadmin ... done

Go to http://localhost:5004/

Login PhpMyAdmin:
user: root
pass: root
Login MariaDB:
user: root
pass: root

Stop services. Don't worry, the data persists!

$ docker-compose -f mongo-compose.yml stop
$ docker-compose -f mysql-compose.yml stop
$ docker-compose -f postgres-compose.yml stop
$ docker-compose -f cassandra-compose.yml stop
$ docker-compose -f mariadb-compose.yml stop

Remove services. Don't worry, the data continues to persist!

$ docker-compose -f mongo-compose.yml down
$ docker-compose -f mysql-compose.yml down
$ docker-compose -f postgres-compose.yml down
$ docker-compose -f cassandra-compose.yml down
$ docker-compose -f mariadb-compose.yml down

License

MIT