Skip to content

Commit 5521f71

Browse files
Omranicbestlong
authored andcommitted
Update mongo install instructions (laradock#1632)
1 parent 339d47f commit 5521f71

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

  • DOCUMENTATION/content/documentation

DOCUMENTATION/content/documentation/index.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -604,33 +604,16 @@ composer require predis/predis:^1.0
604604

605605
1 - First install `mongo` in the Workspace and the PHP-FPM Containers:
606606
<br>
607-
a) open the `docker-compose.yml` file
607+
a) open the `.env` file
608608
<br>
609-
b) search for the `INSTALL_MONGO` argument under the Workspace Container
609+
b) search for the `WORKSPACE_INSTALL_MONGO` argument under the Workspace Container
610610
<br>
611611
c) set it to `true`
612612
<br>
613-
d) search for the `INSTALL_MONGO` argument under the PHP-FPM Container
613+
d) search for the `PHP_FPM_INSTALL_MONGO` argument under the PHP-FPM Container
614614
<br>
615615
e) set it to `true`
616616

617-
It should be like this:
618-
619-
```yml
620-
workspace:
621-
build:
622-
context: ./workspace
623-
args:
624-
- INSTALL_MONGO=true
625-
...
626-
php-fpm:
627-
build:
628-
context: ./php-fpm
629-
args:
630-
- INSTALL_MONGO=true
631-
...
632-
```
633-
634617
2 - Re-build the containers `docker-compose build workspace php-fpm`
635618

636619

0 commit comments

Comments
 (0)