Created
November 17, 2021 17:29
-
-
Save mascot27/14c4668c5ed482167b3a9b2650aafaee to your computer and use it in GitHub Desktop.
Run mysql docker Mac M1 (ARM)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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