Skip to content

Instantly share code, notes, and snippets.

@vijaypatidar
Last active August 13, 2021 20:01
Show Gist options
  • Save vijaypatidar/e43050e6c0f5d7dc44876ce2b1913a22 to your computer and use it in GitHub Desktop.
Save vijaypatidar/e43050e6c0f5d7dc44876ce2b1913a22 to your computer and use it in GitHub Desktop.
Run MYSQL as docker container
version: '3.1'
services:
db:
image: mysql
platform: linux/x86_64
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root@admin
MYSQL_ROOT_USER: root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment