Created
May 9, 2018 19:59
-
-
Save artemrogov/339bed9a0dd9bdca0943b351749b0e76 to your computer and use it in GitHub Desktop.
docker-compose.yml
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
version: '2' | |
services: | |
mysql: | |
image: mysql:5.7 | |
volumes: | |
- ./storage/docker/mysql:/var/lib/mysql | |
environment: | |
- "MYSQL_ROOT_PASSWORD=secret" | |
- "MYSQL_USER=app" | |
- "MYSQL_PASSWORD=secret" | |
- "MYSQL_DATABASE=app" | |
ports: | |
- "33061:3306" | |
redis: | |
image: redis:3.0 | |
ports: | |
- "63791:6379" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
энвармент для докера