Skip to content

Instantly share code, notes, and snippets.

@andreloty
Created September 21, 2021 12:13
Show Gist options
  • Save andreloty/85e6d8d46879fc1a7b9fe86ccd741141 to your computer and use it in GitHub Desktop.
Save andreloty/85e6d8d46879fc1a7b9fe86ccd741141 to your computer and use it in GitHub Desktop.
MariaDb Docker compose
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