Skip to content

Instantly share code, notes, and snippets.

@ajaxray
Created November 15, 2023 08:56
Show Gist options
  • Select an option

  • Save ajaxray/ef6d595ccf181d9048e52a654e5687f4 to your computer and use it in GitHub Desktop.

Select an option

Save ajaxray/ef6d595ccf181d9048e52a654e5687f4 to your computer and use it in GitHub Desktop.

Revisions

  1. ajaxray created this gist Nov 15, 2023.
    21 changes: 21 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    version: '3.7'
    services:
    db_course_mysql:
    image: mysql:8.2
    command: --default-authentication-plugin=mysql_native_password
    environment:
    MYSQL_ROOT_PASSWORD: 123123
    ports:
    - 3309:3306
    volumes:
    - db_course_mysql_data:/var/lib/mysql
    - ./schema:/tmp/schema
    db_course_adminer:
    image: adminer:latest
    environment:
    ADMINER_DEFAULT_SERVER: db_course_mysql
    ports:
    - 8080:8080

    volumes:
    db_course_mysql_data: