Created
July 10, 2022 12:56
-
-
Save hasinhayder/d6ee62129427f9817c94134cadc12d92 to your computer and use it in GitHub Desktop.
mariadb + 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.8' | |
services: | |
mariadb: | |
image: mariadb:10.8 | |
restart: always | |
ports: | |
- 3307:3306 | |
volumes: | |
- ./mariadb:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
- MYSQL_PASSWORD=admin | |
- MYSQL_USER=admin | |
- MYSQL_DATABASE=test | |
- MYSQL_TCP_PORT=3306 | |
adminer: | |
image: adminer | |
restart: always | |
ports: | |
- 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
then head to localhost:8080 and connect to mariadb using the following credentials
server: mariadb
user: root or admin
password: root or admin