 Cristian Mello
					Cristian Mello
				
			
				
					committed by
					
						 Philippe Trépanier
						Philippe Trépanier
					
				
			
			
				
	
			
			
			 Philippe Trépanier
						Philippe Trépanier
					
				
			
						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` | ||||
|  | ||||
| <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> | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user