Skip to content

Instantly share code, notes, and snippets.

@EnetoJara
Last active January 21, 2021 23:36
Show Gist options
  • Save EnetoJara/3a55036f7a6b574ebf97bac0939f487f to your computer and use it in GitHub Desktop.
Save EnetoJara/3a55036f7a6b574ebf97bac0939f487f to your computer and use it in GitHub Desktop.
version: "3.3"
services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
volumes:
- ./mysql-dump:/docker-entrypoint-initdb.d
environment:
MYSQL_DATABASE: "tutorial"
MYSQL_USER: "root"
MYSQL_ROOT_PASSWORD: "password"
ports:
- "3306:3306"
expose:
- "3306"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment