Skip to content

Instantly share code, notes, and snippets.

@joselfonseca
Created November 8, 2017 22:05
Show Gist options
  • Select an option

  • Save joselfonseca/b05592297ae5a23bd202232f130191c7 to your computer and use it in GitHub Desktop.

Select an option

Save joselfonseca/b05592297ae5a23bd202232f130191c7 to your computer and use it in GitHub Desktop.
docker-compose.yml empleo Laravel V1
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