From 5521f714281e24b93cbcef3e3655bc77182c20a4 Mon Sep 17 00:00:00 2001 From: Abdelrahman Omran Date: Sun, 24 Jun 2018 03:48:20 +0200 Subject: [PATCH] Update mongo install instructions (#1632) --- DOCUMENTATION/content/documentation/index.md | 23 +++----------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index 7b22c053..792be6c8 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -604,33 +604,16 @@ composer require predis/predis:^1.0 1 - First install `mongo` in the Workspace and the PHP-FPM Containers:
-a) open the `docker-compose.yml` file +a) open the `.env` file
-b) search for the `INSTALL_MONGO` argument under the Workspace Container +b) search for the `WORKSPACE_INSTALL_MONGO` argument under the Workspace Container
c) set it to `true`
-d) search for the `INSTALL_MONGO` argument under the PHP-FPM Container +d) search for the `PHP_FPM_INSTALL_MONGO` argument under the PHP-FPM Container
e) set it to `true` -It should be like this: - -```yml - workspace: - build: - context: ./workspace - args: - - INSTALL_MONGO=true - ... - php-fpm: - build: - context: ./php-fpm - args: - - INSTALL_MONGO=true - ... -``` - 2 - Re-build the containers `docker-compose build workspace php-fpm`