Skip to content

Instantly share code, notes, and snippets.

@devisnotnull
Created December 23, 2019 19:39
Show Gist options
  • Select an option

  • Save devisnotnull/1de41bc259128dbd2d549005af7d5652 to your computer and use it in GitHub Desktop.

Select an option

Save devisnotnull/1de41bc259128dbd2d549005af7d5652 to your computer and use it in GitHub Desktop.

Revisions

  1. devisnotnull created this gist Dec 23, 2019.
    19 changes: 19 additions & 0 deletions mysql.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    # Use root/example as user/password credentials
    version: '3.1'

    services:

    db:
    image: mysql
    command: --default-authentication-plugin=mysql_native_password
    restart: always
    environment:
    MYSQL_ROOT_PASSWORD: example
    ports:
    - 3306:3306

    adminer:
    image: adminer
    restart: always
    ports:
    - 8080:8080