Choose what database your require and start your service
Create a database server & admin for PostgreSQL
Make sure you have Docker installed on your system before proceeding.
Follow these steps to start running your database:
-
Clone this repository:
git clone
-
Move to the right directory:
cd postgresql/postgresql-runner
-
Set your environment variables:
Create a file named
.env
in thepostgresql-runner
directory and add the following variables:# PostgreSQL POSTGRES_DB=your_database_name POSTGRES_USER=your_username POSTGRES_PASSWORD=your_password POSTGRES_PORT=5432 # PgAdmin PGADMIN_DEFAULT_EMAIL=your_email@example.com PGADMIN_DEFAULT_PASSWORD=your_pgadmin_password PGADMIN_DEFAULT_PORT=8080
Replace
your_database_name
,your_username
,your_password
,your_email@example.com
, andyour_pgadmin_password
with your desired values. -
Build up the server:
Run the following command to build up the PostgreSQL server and PgAdmin interface:
docker-compose up -d
-
Access the admin interface:
Once the server is up and running, you can access the PgAdmin interface by visiting http://localhost:8080 in your web browser.
Once you've accessed the PgAdmin interface, you can use it to manage your PostgreSQL database. You can create new databases, tables, and execute SQL queries as needed.
- If you encounter any issues during setup, ensure that Docker is properly installed and running on your system.
- Double-check your environment variables in the
.env
file to ensure they are correctly configured.
Create a database server & admin for MongoDB
Make sure you have Docker installed on your system before proceeding.
Follow these steps to start running your database:
-
Clone this repository:
git clone
-
Move to the right directory:
cd mongodb/mongo-runner
-
Set your environment variables:
Create a file named
.env
in themongo-runner
directory and add the following variables:# MongoDB ME_CONFIG_MONGODB_SERVER=your_mongodb_server ME_CONFIG_MONGODB_PORT=your_mongodb_port # Admin ME_CONFIG_BASICAUTH_USERNAME=your_admin_username ME_CONFIG_BASICAUTH_PASSWORD=your_admin_password
Replace
your_mongodb_server
,your_mongodb_port
,your_admin_username
, andyour_admin_password
with your desired values. -
Build up the server:
Run the following command to build up the MongoDB server and admin interface:
docker-compose up -d
-
Access the admin interface:
Once the server is up and running, you can access the admin interface by visiting http://localhost:8081 in your web browser.
Once you've accessed the admin interface, you can use it to manage your MongoDB databases, collections, and documents. You can create, read, update, and delete data as needed.
- If you encounter any issues during setup, ensure that Docker is properly installed and running on your system.
- Double-check your environment variables in the
.env
file to ensure they are correctly configured.
Create a database server & admin for MySQL
Make sure you have Docker installed on your system before proceeding.
Follow these steps to start running your MySQL database and phpMyAdmin interface:
-
Clone this repository:
git clone
-
Move to the right directory:
cd mysql/mysql-runner
-
Set your environment variables:
Modify the
.env
file in themysql-mysqladmin-runner
directory and set the following variables:# MySQL MYSQL_DATABASE=your_database_name MYSQL_USER=your_mysql_username MYSQL_PASSWORD=your_mysql_password MYSQL_ROOT_PASSWORD=your_mysql_root_password MYSQL_PORT=your_mysql_port # phpMyAdmin PHPMYADMIN_PORT=your_phpmyadmin_port
Replace
your_database_name
,your_mysql_username
,your_mysql_password
,your_mysql_root_password
,your_mysql_port
, andyour_phpmyadmin_port
with your desired values. -
Build up the server:
Run the following command to build up the MySQL server and phpMyAdmin interface:
docker-compose up -d
-
Access the phpMyAdmin interface:
Once the server is up and running, you can access the phpMyAdmin interface by visiting http://localhost:your_phpmyadmin_port in your web browser.
Once you've accessed the phpMyAdmin interface, you can use it to manage your MySQL databases, tables, and data. You can create, read, update, and delete data as needed.
- If you encounter any issues during setup, ensure that Docker is properly installed and running on your system.
- Double-check your environment variables in the
.env
file to ensure they are correctly configured.