Skip to content

Instantly share code, notes, and snippets.

@mascot27
Created November 17, 2021 17:29
Show Gist options
  • Save mascot27/14c4668c5ed482167b3a9b2650aafaee to your computer and use it in GitHub Desktop.
Save mascot27/14c4668c5ed482167b3a9b2650aafaee to your computer and use it in GitHub Desktop.
Run mysql docker Mac M1 (ARM)
version: '3'
services:
mysql:
container_name: sqlAmt
image: mysql/mysql-server:8.0.23
ports:
- '3306:3306'
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_DATABASE: <dbName>
MYSQL_USER: <dbUser>
MYSQL_PASSWORD: <dbUserPassword>
MYSQL_ROOT_PASSWORD: <rootPassword>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment