You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Basic-Docker-Databases/maria/docker-compose.yml

16 lines
222 B

5 years ago
version: '3'
services:
db:
image: mariadb:latest
volumes:
- dbdata:/var/lib/mysql
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
dbdata: