This guide will show you how to deploy MariaDB and phpMyAdmin using Docker Compose from this repository.
- Docker and Docker Compose must be installed on your system.
- A basic understanding of Docker and Docker Compose is recommended.
git clone https://github.com/racksync/mariadb-pma-docker.git
cd mariadb-pma-docker
Copy the example .env file and modify it according to your needs:
cp default.env .envEdit the .env file to set your desired:
- Database credentials
- WordPress configuration
- Timezone
- Ports for MariaDB, phpMyAdmin, and WordPress
- phpMyAdmin settings
After configuration, you can access:
- WordPress at http://ip-address:8000
- phpMyAdmin at http://ip-address:8080
In the same directory where the docker-compose.yml file is located, run the following command:
docker-compose up -d
Once the containers are running, you can access phpMyAdmin by visiting http://ip-address:8080 in your web browser. You should see the phpMyAdmin login page. Use the username root and password password to log in.
Once you have verified that the containers are running, you can adjust the containers to your needs. For example, you can change the port that phpMyAdmin is exposed on by editing the docker-compose.yml file. then execute the following command:
docker-compose up -d --no-deps --build [container-name]
docker-compose down
RACKSYNC Co., Ltd. specializes in automation and smart solutions of all scales. We are experts in designing, implementing, and monitoring sophisticated automation systems. Our team of specialists provides comprehensive consulting services and technical implementation for both residential and commercial projects. Beyond automation, we offer full-cycle Software as a Service (SaaS) development, helping businesses transform their operations through custom digital solutions. With our deep expertise in IoT, home automation, and enterprise systems, we deliver reliable and innovative solutions tailored to each client's unique requirements.
📍 RACKSYNC COMPANY LIMITED
🌏 Suratthani, Thailand 84000
🌐 Website : racksync.com
📧 Email : devops@racksync.com
📞 Tel : +66 85 880 8885