Created
March 22, 2019 09:37
-
-
Save mizchi/140a48eb94305add9d229225daab5728 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: | |
image: mysql:5.7 | |
command: --default-authentication-plugin=mysql_native_password | |
restart: always | |
ports: | |
- '3306:3306' | |
environment: | |
MYSQL_ROOT_USER: root | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: dev | |
MYSQL_USER: root | |
volumes: | |
- dbdata:/var/lib/mysql | |
redis: | |
image: redis:latest | |
ports: | |
- '6379:6379' | |
command: redis-server --appendonly yes | |
volumes: | |
- ./data/redis:/data | |
volumes: | |
dbdata: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment