Skip to content

Instantly share code, notes, and snippets.

@tomasnorre
Created September 15, 2019 17:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasnorre/8743f77ab1d6f47fb9a9b49abed91b3b to your computer and use it in GitHub Desktop.
Save tomasnorre/8743f77ab1d6f47fb9a9b49abed91b3b to your computer and use it in GitHub Desktop.
Docker MySQL in Memory
services:
db:
image: mysql:5.6
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: database
ports:
- 3306:3306
tmpfs:
- /var/lib/mysql/:rw,noexec,nosuid%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment