Skip to content

Commit

Permalink
Merge pull request #95 from magento/develop
Browse files Browse the repository at this point in the history
Forward-port develop
  • Loading branch information
shiftedreality committed Nov 5, 2019
2 parents 805ea21 + 11acfd4 commit 9b9c4cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Compose/DeveloperBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public function build(): array
}

$compose['volumes'] = [
'magento-sync' => $syncConfig
'magento-sync' => $syncConfig,
'magento-db' => []
];

return $compose;
Expand Down
5 changes: 3 additions & 2 deletions src/Compose/ProductionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ public function build(): array
],
'volumes' => array_merge(
[
'/var/lib/mysql',
'magento-db:/var/lib/mysql',
'.docker/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d'
],
$this->getDockerMount()
),
)
]
)
];
Expand Down Expand Up @@ -411,6 +411,7 @@ private function getVolumesDefinition(): array
'magento-etc' => $volumeConfig,
'magento-static' => $volumeConfig,
'magento-media' => $volumeConfig,
'magento-db' => $volumeConfig,
];

if ($this->getDockerMount()) {
Expand Down

0 comments on commit 9b9c4cb

Please sign in to comment.