Skip to content

Commit 11c65c4

Browse files
committed
Fix variable not set warning
Added an untracked `.env` file to the root directory to prevent the `WARNING: The INSTALL_PRESTISSIMO variable is not set` message from being displayed when `docker-compose` is run. Added section in README for optional features.
1 parent 1b9630e commit 11c65c4

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
INSTALL_PRESTISSIMO=false

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
4949
- [Run a Docker Virtual Host](#Run-Docker-Virtual-Host)
5050
- [Find your Docker IP Address](#Find-Docker-IP-Address)
5151
- [Use custom Domain](#Use-custom-Domain)
52+
- [Optional Features](#Optional-Features)
5253
- [Debugging](#debugging)
5354
- [Help & Questions](#Help)
5455

@@ -822,6 +823,13 @@ server_name laravel.dev;
822823
```
823824

824825

826+
<br>
827+
<a name="Optional-Features"></a>
828+
### Optional Features
829+
#### prestissimo
830+
[prestissimo](https://github.com/hirak/prestissimo) is a plugin for composer which enables parallel install functionality. You can enable prestissimo by setting `INSTALL_PRESTISSIMO=true` in the `.env` file in the Laradock directory.
831+
832+
825833
<br>
826834
<a name="debugging"></a>
827835
### Debugging

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ services:
156156
build:
157157
context: ./workspace
158158
args:
159-
INSTALL_PRESTISSIMO: ${INSTALL_PRESTISSIMO}
159+
- INSTALL_PRESTISSIMO=${INSTALL_PRESTISSIMO}
160160
volumes_from:
161161
- application
162162
tty: true

0 commit comments

Comments
 (0)