Created
September 15, 2019 17:02
-
-
Save tomasnorre/8743f77ab1d6f47fb9a9b49abed91b3b to your computer and use it in GitHub Desktop.
Docker MySQL in Memory
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
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