Update aerospike installation instructions (#1635)

This commit is contained in:
Abdelrahman Omran 2018-06-24 04:00:52 +02:00 committed by Shao Yu-Lung (Allen)
parent 11912055ec
commit bc27e96337

View File

@ -1299,32 +1299,16 @@ You are free to modify the `aliases.sh` as you see fit, adding your own aliases
1 - First install `aerospike` in the Workspace and the PHP-FPM Containers:
<br>
a) open the `docker-compose.yml` file
a) open the `.env` file
<br>
b) search for the `INSTALL_AEROSPIKE` argument under the Workspace Container
b) search for the `WORKSPACE_INSTALL_AEROSPIKE` argument under the Workspace Container
<br>
c) set it to `true`
<br>
d) search for the `INSTALL_AEROSPIKE` argument under the PHP-FPM Container
d) search for the `PHP_FPM_INSTALL_AEROSPIKE` argument under the PHP-FPM Container
<br>
e) set it to `true`
It should be like this:
```yml
workspace:
build:
context: ./workspace
args:
- INSTALL_AEROSPIKE=true
...
php-fpm:
build:
context: ./php-fpm
args:
- INSTALL_AEROSPIKE=true
...
```
<br>
2 - Re-build the containers `docker-compose build workspace php-fpm`