parent
e78b3ff799
commit
33e8e91e49
26
README.md
26
README.md
@ -1330,6 +1330,32 @@ It should be like this:
|
|||||||
|
|
||||||
2 - Re-build the containers `docker-compose build workspace php-fpm`
|
2 - Re-build the containers `docker-compose build workspace php-fpm`
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<a name="Install-Laravel-Envoy"></a>
|
||||||
|
### Install Laravel Envoy (Envoy Task Runner)
|
||||||
|
|
||||||
|
1 - Open the `docker-compose.yml` file
|
||||||
|
<br>
|
||||||
|
2 - Search for the `INSTALL_LARAVEL_ENVOY` argument under the Workspace Container
|
||||||
|
<br>
|
||||||
|
3 - Set it to `true`
|
||||||
|
<br>
|
||||||
|
|
||||||
|
It should be like this:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
workspace:
|
||||||
|
build:
|
||||||
|
context: ./workspace
|
||||||
|
args:
|
||||||
|
- INSTALL_LARAVEL_ENVOY=true
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
4 - Re-build the containers `docker-compose build workspace`
|
||||||
|
|
||||||
|
####[Laravel Envoy Documentation Here](https://laravel.com/docs/5.3/envoy)
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<a name="debugging"></a>
|
<a name="debugging"></a>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ services:
|
|||||||
- INSTALL_V8JS_EXTENSION=false
|
- INSTALL_V8JS_EXTENSION=false
|
||||||
- COMPOSER_GLOBAL_INSTALL=false
|
- COMPOSER_GLOBAL_INSTALL=false
|
||||||
- INSTALL_WORKSPACE_SSH=false
|
- INSTALL_WORKSPACE_SSH=false
|
||||||
|
- INSTALL_LARAVEL_ENVOY=false
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- NODE_VERSION=stable
|
- NODE_VERSION=stable
|
||||||
|
@ -276,6 +276,21 @@ USER root
|
|||||||
RUN echo "" >> ~/.bashrc && \
|
RUN echo "" >> ~/.bashrc && \
|
||||||
echo 'alias art="php artisan"' >> ~/.bashrc
|
echo 'alias art="php artisan"' >> ~/.bashrc
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Laravel Envoy:
|
||||||
|
#####################################
|
||||||
|
USER laradock
|
||||||
|
|
||||||
|
ARG INSTALL_LARAVEL_ENVOY=true
|
||||||
|
ENV INSTALL_LARAVEL_ENVOY ${INSTALL_LARAVEL_ENVOY}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_LARAVEL_ENVOY} = true ]; then \
|
||||||
|
# Install the Laravel Envoy
|
||||||
|
echo "" >> ~/.bashrc && \
|
||||||
|
echo 'export PATH="~/.composer/vendor/bin:$PATH"' >> ~/.bashrc \
|
||||||
|
&& composer global require "laravel/envoy=~1.0" \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
Loading…
Reference in New Issue
Block a user