| 
														
															@@ -1,3 +1,5 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+https://koel.phanan.net/docs 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 ```sh 
														 | 
														
														 | 
														
															 ```sh 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 $ sudo docker build -t koel . 
														 | 
														
														 | 
														
															 $ sudo docker build -t koel . 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 $ sudo docker network create koel 
														 | 
														
														 | 
														
															 $ sudo docker network create koel 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -11,18 +13,22 @@ $ sudo docker create \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     postgres:10.5-alpine 
														 | 
														
														 | 
														
															     postgres:10.5-alpine 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 $ sudo docker start koel-db 
														 | 
														
														 | 
														
															 $ sudo docker start koel-db 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 $ sudo docker run --rm --interactive --tty \ 
														 | 
														
														 | 
														
															 $ sudo docker run --rm --interactive --tty \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    --name koel \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     --env DB_CONNECTION=pgsql \ 
														 | 
														
														 | 
														
															     --env DB_CONNECTION=pgsql \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     --env DB_HOST=koel-db \ 
														 | 
														
														 | 
														
															     --env DB_HOST=koel-db \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     --env DB_PORT=5432 \ 
														 | 
														
														 | 
														
															     --env DB_PORT=5432 \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     --env DB_DATABASE=koel \ 
														 | 
														
														 | 
														
															     --env DB_DATABASE=koel \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     --env DB_PASSWORD=secret \ 
														 | 
														
														 | 
														
															     --env DB_PASSWORD=secret \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     --network koel --publish=8080:8080 \ 
														 | 
														
														 | 
														
															     --network koel --publish=8080:8080 \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    --security-opt=no-new-privileges --cap-drop=all \ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    --security-opt=no-new-privileges \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    --cap-drop=all --cap-add=setuid --cap-add=setgid \ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     koel 
														 | 
														
														 | 
														
															     koel 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-generated random APP_KEY 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 + php artisan koel:init 
														 | 
														
														 | 
														
															 + php artisan koel:init 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-... 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-App key exists -- skipping 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+Attempting to install or upgrade Koel. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+Remember, you can always install/upgrade manually following the guide here: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+📙  https://koel.phanan.net/docs 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+Generating app key 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 Generating JWT secret 
														 | 
														
														 | 
														
															 Generating JWT secret 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 Migrating database 
														 | 
														
														 | 
														
															 Migrating database 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 Let's create the admin account. 
														 | 
														
														 | 
														
															 Let's create the admin account. 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -31,7 +37,7 @@ Let's create the admin account. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  > fabian peter 
														 | 
														
														 | 
														
															  > fabian peter 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  Your email address: 
														 | 
														
														 | 
														
															  Your email address: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- > fabian+koel@hammerle.me 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ > admin@example.com 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  Your desired password: 
														 | 
														
														 | 
														
															  Your desired password: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  > 
														 | 
														
														 | 
														
															  > 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -46,15 +52,7 @@ The absolute path to your media directory. If this is skipped (left blank) now, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  > 
														 | 
														
														 | 
														
															  > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 Compiling front-end stuff 
														 | 
														
														 | 
														
															 Compiling front-end stuff 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-yarn install v1.7.0 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-[1/4] Resolving packages... 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-success Already up-to-date. 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-$ yarn production 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-yarn run v1.7.0 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-$ cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-... 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-Done in 21.61s. 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-Done in 22.87s. 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+sh: 1: yarn: not found 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 🎆  Success! Koel can now be run from localhost with `php artisan serve`. 
														 | 
														
														 | 
														
															 🎆  Success! Koel can now be run from localhost with `php artisan serve`. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 You can also scan for media with `php artisan koel:sync`. 
														 | 
														
														 | 
														
															 You can also scan for media with `php artisan koel:sync`. 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -62,9 +60,16 @@ Again, for more configuration guidance, refer to 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 📙  https://koel.phanan.net/docs 
														 | 
														
														 | 
														
															 📙  https://koel.phanan.net/docs 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 or open the .env file in the root installation folder. 
														 | 
														
														 | 
														
															 or open the .env file in the root installation folder. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 Thanks for using Koel. You rock! 
														 | 
														
														 | 
														
															 Thanks for using Koel. You rock! 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-+ php artisan serve '--host=0.0.0.0' --port 8080 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-Laravel development server started: <http://0.0.0.0:8080> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-PHP 7.2.10 Development Server started at Sat Sep 15 19:41:27 2018 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-[Sat Sep 15 19:41:30 2018] 172.18.0.1:35448 [200]: /public/css/app.088d4f5eca71efdd5ffc.css 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															++ apache2-foreground 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+... 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+``` 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+Better not use port `8081`: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+```php 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+// /koel/app/Http/Middleware/UseDifferentConfigIfE2E.php 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+... 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (array_get($_SERVER, 'SERVER_PORT') === '8081') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            config(['database.default' => 'sqlite-e2e']); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 ... 
														 | 
														
														 | 
														
															 ... 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 ``` 
														 | 
														
														 | 
														
															 ``` 
														 |