Created
December 12, 2020 19:52
-
-
Save RobertoSchneiders/501530c4b44a84bc9e19575251b82064 to your computer and use it in GitHub Desktop.
This file contains 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.3' | |
services: | |
mysql_5_7: | |
image: mysql:5.7 | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: "" | |
MYSQL_ALLOW_EMPTY_PASSWORD: 1 | |
MYSQL_DATABASE: "db" | |
volumes: | |
- /home/roberto/dev/docker/volumes/mysql:/var/lib/mysql | |
ports: | |
- '3306:3306' | |
mysql_5_7_in_memory: | |
image: mysql:5.7 | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: "" | |
MYSQL_ALLOW_EMPTY_PASSWORD: 1 | |
MYSQL_DATABASE: "db" | |
tmpfs: | |
- /var/lib/mysql:rw,noexec | |
- /tmp:rw,noexec | |
ports: | |
- '3308:3306' | |
redis: | |
image: redis | |
restart: always | |
ports: | |
- '6379:6379' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment