Created
November 15, 2023 08:56
-
-
Save ajaxray/ef6d595ccf181d9048e52a654e5687f4 to your computer and use it in GitHub Desktop.
[Database Course] MySQL 8.2 with Adminer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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