Created
March 20, 2020 19:17
-
-
Save tarlepp/4eb74d5331ba03fd08f4ef1d829acca7 to your computer and use it in GitHub Desktop.
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: '3' | |
| services: | |
| php: | |
| build: | |
| context: . | |
| dockerfile: ./Dockerfile_dev | |
| command: php-fpm | |
| depends_on: | |
| - mysql | |
| ports: | |
| - 9000:9000 | |
| volumes: | |
| - ./:/app:cached | |
| - /app/var/ | |
| environment: | |
| PHP_IDE_CONFIG: "serverName=app.localhost" | |
| nginx: | |
| build: | |
| context: ./docker/nginx/ | |
| depends_on: | |
| - php | |
| ports: | |
| - 8000:80 | |
| volumes: | |
| - ./:/app:cached | |
| - /app/var/ | |
| mysql: | |
| build: | |
| context: ./docker/mysql/ | |
| command: --default-authentication-plugin=mysql_native_password | |
| environment: | |
| MYSQL_ROOT_PASSWORD: password | |
| ports: | |
| - 3310:3306 | |
| volumes: | |
| - mysql:/var/lib/mysql | |
| volumes: | |
| mysql: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment