Created
September 21, 2021 12:13
-
-
Save andreloty/85e6d8d46879fc1a7b9fe86ccd741141 to your computer and use it in GitHub Desktop.
MariaDb Docker compose
This file contains hidden or 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.1' | |
services: | |
db: | |
image: mariadb | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: secretpwd | |
ports: | |
- 3306:3306 | |
volumes: | |
- ./mysql:/var/lib/mysql | |
# 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