Skip to content

Instantly share code, notes, and snippets.

@aimerneige
Created March 27, 2023 13:47
Show Gist options
  • Save aimerneige/ee01caec1950cb5e9fab143e2dad8fbc to your computer and use it in GitHub Desktop.
Save aimerneige/ee01caec1950cb5e9fab143e2dad8fbc to your computer and use it in GitHub Desktop.
docker mysql
version: '3'
services:
mysql:
image: mysql:latest
container_name: dev_mysql
restart: always
ports:
- "3306:3306"
volumes:
- ./data/db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: "root123"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment