Commit 5d84c648 authored by Mahmoud Zalt's avatar Mahmoud Zalt

revers the dependancies between php and the db

to prevent running all the db engines when php is running
parent 26229e15
...@@ -25,9 +25,6 @@ services: ...@@ -25,9 +25,6 @@ services:
- ./logs/php/:/usr/local/var/log - ./logs/php/:/usr/local/var/log
expose: expose:
- "9000" - "9000"
links:
- mysql
- postgres
### DATA Container ########################################## ### DATA Container ##########################################
...@@ -53,6 +50,8 @@ services: ...@@ -53,6 +50,8 @@ services:
MYSQL_USER: homestead MYSQL_USER: homestead
MYSQL_PASSWORD: secret MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: root MYSQL_ROOT_PASSWORD: root
links:
- php
### PostgreSQL Container #################################### ### PostgreSQL Container ####################################
...@@ -67,6 +66,8 @@ services: ...@@ -67,6 +66,8 @@ services:
POSTGRES_DB: homestead POSTGRES_DB: homestead
POSTGRES_USER: homestead POSTGRES_USER: homestead
POSTGRES_PASSWORD: secret POSTGRES_PASSWORD: secret
links:
- php
### Redis Container ######################################### ### 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