Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
33e8e91e
Commit
33e8e91e
authored
Dec 25, 2016
by
Cristian Mello
Committed by
Philippe Trépanier
Dec 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Laravel Envoy (#510)
Add laravel envoy
parent
e78b3ff7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
1 deletion
+43
-1
README.md
README.md
+26
-0
docker-compose.yml
docker-compose.yml
+1
-0
Dockerfile
workspace/Dockerfile
+16
-1
No files found.
README.md
View file @
33e8e91e
...
...
@@ -1330,6 +1330,32 @@ It should be like this:
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>
<a
name=
"debugging"
></a>
...
...
docker-compose.yml
View file @
33e8e91e
...
...
@@ -25,6 +25,7 @@ services:
-
INSTALL_V8JS_EXTENSION=false
-
COMPOSER_GLOBAL_INSTALL=false
-
INSTALL_WORKSPACE_SSH=false
-
INSTALL_LARAVEL_ENVOY=false
-
PUID=1000
-
PGID=1000
-
NODE_VERSION=stable
...
...
workspace/Dockerfile
View file @
33e8e91e
...
...
@@ -275,7 +275,22 @@ USER root
RUN
echo
""
>>
~/.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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment