omdb/docker-compose.yml

13 lines
282 B
YAML
Raw Normal View History

2023-09-05 21:42:50 +00:00
version: "3.7"
services:
dev-db:
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
ports: [3306:3306]
environment:
- MYSQL_ROOT_PASSWORD=example
- MYSQL_DATABASE=omdb
volumes:
- ./docker-data/mysql:/var/lib/mysql