https://github.com/sismics/docker-mariadb
Dockerfile for MariaDB
https://github.com/sismics/docker-mariadb
database docker dockerfile mariadb mysql
Last synced: 7 months ago
JSON representation
Dockerfile for MariaDB
- Host: GitHub
- URL: https://github.com/sismics/docker-mariadb
- Owner: sismics
- Created: 2017-03-10T05:54:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T19:07:13.000Z (about 1 year ago)
- Last Synced: 2024-10-27T23:30:21.923Z (about 1 year ago)
- Topics: database, docker, dockerfile, mariadb, mysql
- Language: Shell
- Size: 7.81 KB
- Stars: 4
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[](https://github.com/sismics/docker-backupninja/releases/latest)
[](https://opensource.org/licenses/Apache-2.0)
## About
Docker image for MariaDB
## Usage
- Create a volume for persistent storage:
```
docker volume create --name=mariadb_data
```
- Copy the **docker-compose.yml** and modify it if needed.
- Start the MariaDB server:
```
docker-compose create
docker-compose start
```
- Look at the logs to see your default password:
```
docker logs mariadb
```
- Connect to your DB and **change the default password**
Default users :
- **root** / no password (can connect from mariadb container only).
- **admin** / random password (can connect from all hosts)