Simple MariaDB Docker Setup
This repository contains a Dockerfile for building a MariaDB image based on Debian. The image is configured to run MariaDB as a non-root user for security reasons.
Info : The mariadb in the container is a pre-build image so the user, password and the database, are created by default for a wordpress.
New Features
- MariaDB on Debian: This release includes a Dockerfile for building a MariaDB image based on Debian. The image is configured to run MariaDB as a non-root user for security reasons.
- Pre-built Image for WordPress: The MariaDB in the container is a pre-built image, so the user, password, and the database are created by default for WordPress.
- Environment Variables for Configuration: You can set the root password, database name, username, and password using the MYSQL_ROOT_PASSWORD, MYSQL_DATABASE, MYSQL_USER, and MYSQL_PASSWORD environment variables, respectively.
How to Use
You can run a container from this image using the following command:
docker run -d --name some-mariadb -p 3306:3306 nayeonyny/mariadb:latest
Author
License
This project is licensed under the Academic Free License version 3.0. You may not use this file except in compliance with the License. You may obtain a copy of the License at https://opensource.org/license/afl-3-0-php/.
Full Changelog: v1.0.0...v1.0.1