Skip to content

Instantly share code, notes, and snippets.

@eyasuyuki
Created August 21, 2018 03:46
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 eyasuyuki/dc89de96bfe8467cec07873ecec12d7f to your computer and use it in GitHub Desktop.
Save eyasuyuki/dc89de96bfe8467cec07873ecec12d7f to your computer and use it in GitHub Desktop.
mariadb-data:
image: busybox
volumes:
- /var/lib/mysql
container_name: mariadb-datastore
mariadb:
image: mariadb:latest
volumes_from:
- mariadb-data
environment:
MYSQL_ROOT_PASSWORD: SOME_PASSWORD
ports:
- "3306:3306"
container_name: mariadb-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment