revers the dependancies between php and the db

to prevent running all the db engines when php is running
This commit is contained in:
Mahmoud Zalt 2016-05-07 05:29:48 +03:00
parent 26229e150d
commit 5d84c6481f
1 changed files with 4 additions and 3 deletions

View File

@ -25,9 +25,6 @@ services:
- ./logs/php/:/usr/local/var/log
expose:
- "9000"
links:
- mysql
- postgres
### DATA Container ##########################################
@ -53,6 +50,8 @@ services:
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: root
links:
- php
### PostgreSQL Container ####################################
@ -67,6 +66,8 @@ services:
POSTGRES_DB: homestead
POSTGRES_USER: homestead
POSTGRES_PASSWORD: secret
links:
- php
### Redis Container #########################################