Skip to content

Instantly share code, notes, and snippets.

@joselfonseca
Created November 10, 2017 03:14
Show Gist options
  • Save joselfonseca/9dc36a1bf2d1b856e84b96d4e536f0b2 to your computer and use it in GitHub Desktop.
Save joselfonseca/9dc36a1bf2d1b856e84b96d4e536f0b2 to your computer and use it in GitHub Desktop.
Archivo final docker compose empleo laravel
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
volumes:
- ./docker/mysql/data/:/var/lib/mysql
ports:
- 33060:3306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment