Commit e572b0b9 authored by Mahmoud Zalt's avatar Mahmoud Zalt

edit docker-compose.yml variables to support the new LaraDock structure

parent 7e49f670
......@@ -10,14 +10,14 @@ php-nginx:
- "80:80"
volumes:
- ./settings/nginx:/etc/nginx/sites-available
- ../laravel:/var/www
- ../:/var/www
- ./logs/nginx:/var/log/nginx
links:
- mysql
- redis
privileged: true
# extra_hosts:
# - "laravel.dev:xxx.xxx.xxx.xxx"
extra_hosts:
- "laravel.dev:xxx.xxx.xxx.xxx"
# MySQL Container #----------------------------------------
mysql:
......@@ -28,9 +28,9 @@ mysql:
volumes_from:
- data
environment:
MYSQL_DATABASE: laravel-database
MYSQL_USER: root
MYSQL_PASSWORD: pass
MYSQL_DATABASE: homestead
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
privileged: true
# Redis Container #----------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment