Created
November 8, 2017 22:05
-
-
Save joselfonseca/b05592297ae5a23bd202232f130191c7 to your computer and use it in GitHub Desktop.
docker-compose.yml empleo Laravel V1
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: | |
| nginx: | |
| image: nginx:1.13.6 | |
| volumes: | |
| - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf | |
| - ./:/var/www/html | |
| ports: | |
| - 8080:80 | |
| links: | |
| - php | |
| php: | |
| image: joselfonsecadt/php7.0:1.0.0 | |
| volumes: | |
| - ./:/var/www/html | |
| - ./docker/php/www.conf:/etc/php/7.0/fpm/pool.d/www.conf | |
| links: | |
| - redis | |
| - mysql | |
| redis: | |
| image: redis:3.0.7 | |
| mysql: | |
| image: mysql:5.7.20 | |
| environment: | |
| MYSQL_ROOT_PASSWORD: empleolaravel | |
| ports: | |
| - 33060:3306 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment