ID: I202512171654
Status: idea
Tags: MariaDB, docker-compose.yml, database
mariadb dockercompose
This is how I host my MariaDB container. Ofc with a different password.
services:
db:
image: mariadb
restart: always
ports:
- 3306:3306
environment:
MARIADB_ROOT_PASSWORD: somepasswordTo read more about MariaDB, you should go to the dockerhub page
References
- https://hub.docker.com/_/mariadb
- I was setting up a MariaDB container for the Avans 2-1 LU3 project.