Skip to content

Instantly share code, notes, and snippets.

@ajaxray
Created November 15, 2023 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajaxray/ef6d595ccf181d9048e52a654e5687f4 to your computer and use it in GitHub Desktop.
Save ajaxray/ef6d595ccf181d9048e52a654e5687f4 to your computer and use it in GitHub Desktop.
[Database Course] MySQL 8.2 with Adminer
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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment