revers the dependancies between php and the db
to prevent running all the db engines when php is running
This commit is contained in:
parent
26229e150d
commit
5d84c6481f
@ -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 #########################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user