index.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  3. <channel>
  4. <title>Introductions on Laradock</title>
  5. <link>http://laradock.io/introduction/index.xml</link>
  6. <description>Recent content in Introductions on Laradock</description>
  7. <generator>Hugo -- gohugo.io</generator>
  8. <language>en-us</language>
  9. <atom:link href="http://laradock.io/introduction/index.xml" rel="self" type="application/rss+xml" />
  10. <item>
  11. <title>Introduction</title>
  12. <link>http://laradock.io/introduction/</link>
  13. <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
  14. <guid>http://laradock.io/introduction/</guid>
  15. <description>
  16. &lt;p&gt;LaraDock strives to make the PHP development experience easier and faster.&lt;/p&gt;
  17. &lt;p&gt;It contains pre-packaged Docker Images that provides you a wonderful &lt;em&gt;development&lt;/em&gt; environment without requiring you to install PHP, NGINX, MySQL, Redis, and any other software on your machines.&lt;/p&gt;
  18. &lt;p&gt;LaraDock is configured to run Laravel Apps by default, and it can be modified to run all kinds of PHP Apps (Symfony, CodeIgniter, WordPress, Drupal&amp;hellip;).&lt;/p&gt;
  19. &lt;h2 id=&#34;quick-overview&#34;&gt;Quick Overview&lt;/h2&gt;
  20. &lt;p&gt;Let&amp;rsquo;s see how easy it is to install &lt;code&gt;NGINX&lt;/code&gt;, &lt;code&gt;PHP&lt;/code&gt;, &lt;code&gt;Composer&lt;/code&gt;, &lt;code&gt;MySQL&lt;/code&gt;, &lt;code&gt;Redis&lt;/code&gt; and &lt;code&gt;beanstalkd&lt;/code&gt;:&lt;/p&gt;
  21. &lt;p&gt;1 - Clone LaraDock inside your PHP project:&lt;/p&gt;
  22. &lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;git clone https://github.com/Laradock/laradock.git
  23. &lt;/code&gt;&lt;/pre&gt;
  24. &lt;p&gt;2 - Enter the laradock folder and run this command:&lt;/p&gt;
  25. &lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;docker-compose up -d nginx mysql redis beanstalkd
  26. &lt;/code&gt;&lt;/pre&gt;
  27. &lt;p&gt;3 - Open your &lt;code&gt;.env&lt;/code&gt; file and set the following:&lt;/p&gt;
  28. &lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;DB_HOST=mysql
  29. REDIS_HOST=redis
  30. QUEUE_HOST=beanstalkd
  31. &lt;/code&gt;&lt;/pre&gt;
  32. &lt;p&gt;4 - Open your browser and visit localhost: &lt;code&gt;http://localhost&lt;/code&gt;.&lt;/p&gt;
  33. &lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;That&#39;s it! enjoy :)
  34. &lt;/code&gt;&lt;/pre&gt;
  35. &lt;p&gt;&lt;a name=&#34;what-is-docker&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  36. &lt;h2 id=&#34;what-is-docker&#34;&gt;What is Docker?&lt;/h2&gt;
  37. &lt;p&gt;&lt;a href=&#34;https://www.docker.com&#34;&gt;Docker&lt;/a&gt; is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of &lt;a href=&#34;https://en.wikipedia.org/wiki/Operating-system-level_virtualization&#34;&gt;operating-system-level virtualization&lt;/a&gt; on Linux, Mac OS and Windows.&lt;/p&gt;
  38. &lt;p&gt;&lt;a name=&#34;why-docker-not-vagrant&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  39. &lt;h2 id=&#34;why-docker-not-vagrant&#34;&gt;Why Docker not Vagrant!?&lt;/h2&gt;
  40. &lt;p&gt;&lt;a href=&#34;https://www.vagrantup.com&#34;&gt;Vagrant&lt;/a&gt; creates Virtual Machines in minutes while Docker creates Virtual Containers in seconds.&lt;/p&gt;
  41. &lt;p&gt;Instead of providing a full Virtual Machines, like you get with Vagrant, Docker provides you &lt;strong&gt;lightweight&lt;/strong&gt; Virtual Containers, that share the same kernel and allow to safely execute independent processes.&lt;/p&gt;
  42. &lt;p&gt;In addition to the speed, Docker gives tons of features that cannot be achieved with Vagrant.&lt;/p&gt;
  43. &lt;p&gt;Most importantly Docker can run on Development and on Production (same environment everywhere). While Vagrant is designed for Development only, (so you have to re-provision your server on Production every time).&lt;/p&gt;
  44. &lt;p&gt;&lt;a name=&#34;laradock-vs-homestead&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  45. &lt;h2 id=&#34;laradock-vs-homestead-for-laravel-developers&#34;&gt;LaraDock VS Homestead (For Laravel Developers)&lt;/h2&gt;
  46. &lt;blockquote&gt;
  47. &lt;p&gt;LaraDock It&amp;rsquo;s like Laravel Homestead but for Docker instead of Vagrant.&lt;/p&gt;
  48. &lt;/blockquote&gt;
  49. &lt;p&gt;LaraDock and &lt;a href=&#34;https://laravel.com/docs/master/homestead&#34;&gt;Homestead&lt;/a&gt; both give you complete virtual development environments. (Without the need to install and configure every single software on your own Operating System).&lt;/p&gt;
  50. &lt;ul&gt;
  51. &lt;li&gt;&lt;p&gt;Homestead is a tool that controls Vagrant for you (using Homestead special commands). And Vagrant manages your Virtual Machine.&lt;/p&gt;&lt;/li&gt;
  52. &lt;li&gt;&lt;p&gt;LaraDock is a tool that controls Docker for you (using Docker &amp;amp; Docker Compose official commands). And Docker manages your Virtual Containers.&lt;/p&gt;&lt;/li&gt;
  53. &lt;/ul&gt;
  54. &lt;p&gt;Running a virtual container is much faster than running a full virtual Machine. Thus &lt;strong&gt;LaraDock is much faster than Homestead&lt;/strong&gt;.&lt;/p&gt;
  55. &lt;p&gt;&lt;a name=&#34;Demo&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  56. &lt;h2 id=&#34;demo-video&#34;&gt;Demo Video&lt;/h2&gt;
  57. &lt;p&gt;What&amp;rsquo;s better than a &lt;strong&gt;Demo Video&lt;/strong&gt;:&lt;/p&gt;
  58. &lt;ul&gt;
  59. &lt;li&gt;LaraDock &lt;a href=&#34;https://www.youtube.com/watch?v=TQii1jDa96Y&#34;&gt;v4.*&lt;/a&gt;&lt;/li&gt;
  60. &lt;li&gt;LaraDock &lt;a href=&#34;https://www.youtube.com/watch?v=-DamFMczwDA&#34;&gt;v2.*&lt;/a&gt;&lt;/li&gt;
  61. &lt;li&gt;LaraDock &lt;a href=&#34;https://www.youtube.com/watch?v=jGkyO6Is_aI&#34;&gt;v0.3&lt;/a&gt;&lt;/li&gt;
  62. &lt;li&gt;LaraDock &lt;a href=&#34;https://www.youtube.com/watch?v=3YQsHe6oF80&#34;&gt;v0.1&lt;/a&gt;&lt;/li&gt;
  63. &lt;/ul&gt;
  64. &lt;p&gt;&lt;a name=&#34;features&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  65. &lt;h2 id=&#34;features&#34;&gt;Features&lt;/h2&gt;
  66. &lt;ul&gt;
  67. &lt;li&gt;Easy switch between PHP versions: 7.0, 5.6, 5.5&amp;hellip;&lt;/li&gt;
  68. &lt;li&gt;Choose your favorite database engine: MySQL, Postgres, MariaDB&amp;hellip;&lt;/li&gt;
  69. &lt;li&gt;Run your own combination of software: Memcached, HHVM, Beanstalkd&amp;hellip;&lt;/li&gt;
  70. &lt;li&gt;Every software runs on a separate container: PHP-FPM, NGINX, PHP-CLI&amp;hellip;&lt;/li&gt;
  71. &lt;li&gt;Easy to customize any container, with simple edit to the &lt;code&gt;Dockerfile&lt;/code&gt;.&lt;/li&gt;
  72. &lt;li&gt;All Images extends from an official base Image. (Trusted base Images).&lt;/li&gt;
  73. &lt;li&gt;Pre-configured NGINX for Laravel.&lt;/li&gt;
  74. &lt;li&gt;Easy to apply configurations inside containers.&lt;/li&gt;
  75. &lt;li&gt;Clean and well structured Dockerfiles (&lt;code&gt;Dockerfile&lt;/code&gt;).&lt;/li&gt;
  76. &lt;li&gt;Latest version of the Docker Compose file (&lt;code&gt;docker-compose&lt;/code&gt;).&lt;/li&gt;
  77. &lt;li&gt;Everything is visible and editable.&lt;/li&gt;
  78. &lt;li&gt;Fast Images Builds.&lt;/li&gt;
  79. &lt;li&gt;More to come every week..&lt;/li&gt;
  80. &lt;/ul&gt;
  81. &lt;p&gt;&lt;a name=&#34;Supported-Containers&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  82. &lt;h2 id=&#34;supported-software-containers&#34;&gt;Supported Software (Containers)&lt;/h2&gt;
  83. &lt;ul&gt;
  84. &lt;li&gt;&lt;strong&gt;Database Engines:&lt;/strong&gt;
  85. &lt;ul&gt;
  86. &lt;li&gt;MySQL&lt;/li&gt;
  87. &lt;li&gt;PostgreSQL&lt;/li&gt;
  88. &lt;li&gt;MariaDB&lt;/li&gt;
  89. &lt;li&gt;MongoDB&lt;/li&gt;
  90. &lt;li&gt;Neo4j&lt;/li&gt;
  91. &lt;li&gt;RethinkDB&lt;/li&gt;
  92. &lt;/ul&gt;&lt;/li&gt;
  93. &lt;li&gt;&lt;strong&gt;Cache Engines:&lt;/strong&gt;
  94. &lt;ul&gt;
  95. &lt;li&gt;Redis&lt;/li&gt;
  96. &lt;li&gt;Memcached&lt;/li&gt;
  97. &lt;li&gt;Aerospike&lt;/li&gt;
  98. &lt;/ul&gt;&lt;/li&gt;
  99. &lt;li&gt;&lt;strong&gt;PHP Servers:&lt;/strong&gt;
  100. &lt;ul&gt;
  101. &lt;li&gt;NGINX&lt;/li&gt;
  102. &lt;li&gt;Apache2&lt;/li&gt;
  103. &lt;li&gt;Caddy&lt;/li&gt;
  104. &lt;/ul&gt;&lt;/li&gt;
  105. &lt;li&gt;&lt;strong&gt;PHP Compilers:&lt;/strong&gt;
  106. &lt;ul&gt;
  107. &lt;li&gt;PHP-FPM&lt;/li&gt;
  108. &lt;li&gt;HHVM&lt;/li&gt;
  109. &lt;/ul&gt;&lt;/li&gt;
  110. &lt;li&gt;&lt;strong&gt;Message Queuing Systems:&lt;/strong&gt;
  111. &lt;ul&gt;
  112. &lt;li&gt;Beanstalkd&lt;/li&gt;
  113. &lt;li&gt;Beanstalkd Console&lt;/li&gt;
  114. &lt;li&gt;RabbitMQ&lt;/li&gt;
  115. &lt;li&gt;RabbitMQ Console&lt;/li&gt;
  116. &lt;/ul&gt;&lt;/li&gt;
  117. &lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt;
  118. &lt;ul&gt;
  119. &lt;li&gt;PhpMyAdmin&lt;/li&gt;
  120. &lt;li&gt;PgAdmin&lt;/li&gt;
  121. &lt;li&gt;ElasticSearch&lt;/li&gt;
  122. &lt;li&gt;Selenium&lt;/li&gt;
  123. &lt;li&gt;Minio&lt;/li&gt;
  124. &lt;li&gt;Workspace
  125. &lt;ul&gt;
  126. &lt;li&gt;PHP7-CLI&lt;/li&gt;
  127. &lt;li&gt;Composer&lt;/li&gt;
  128. &lt;li&gt;Git&lt;/li&gt;
  129. &lt;li&gt;Linuxbrew&lt;/li&gt;
  130. &lt;li&gt;Node&lt;/li&gt;
  131. &lt;li&gt;Gulp&lt;/li&gt;
  132. &lt;li&gt;SQLite&lt;/li&gt;
  133. &lt;li&gt;xDebug&lt;/li&gt;
  134. &lt;li&gt;Envoy&lt;/li&gt;
  135. &lt;li&gt;Deployer&lt;/li&gt;
  136. &lt;li&gt;Vim&lt;/li&gt;
  137. &lt;li&gt;Yarn&lt;/li&gt;
  138. &lt;li&gt;&amp;hellip; Many other supported tools are not documented. (Will be updated soon)&lt;/li&gt;
  139. &lt;/ul&gt;&lt;/li&gt;
  140. &lt;/ul&gt;&lt;/li&gt;
  141. &lt;/ul&gt;
  142. &lt;blockquote&gt;
  143. &lt;p&gt;If you can&amp;rsquo;t find your Software, build it yourself and add it to this list. Contributions are welcomed :)&lt;/p&gt;
  144. &lt;/blockquote&gt;
  145. &lt;p&gt;&lt;a name=&#34;Chat&#34;&gt;&lt;/a&gt;&lt;/p&gt;
  146. &lt;h2 id=&#34;chat-with-us&#34;&gt;Chat with us&lt;/h2&gt;
  147. &lt;p&gt;You are welcome to join our chat room on Gitter.&lt;/p&gt;
  148. &lt;p&gt;&lt;a href=&#34;https://gitter.im/LaraDock/laradock?utm_source=badge&amp;amp;utm_medium=badge&amp;amp;utm_campaign=pr-badge&#34;&gt;&lt;img src=&#34;https://badges.gitter.im/LaraDock/laradock.svg&#34; alt=&#34;Gitter&#34; /&gt;&lt;/a&gt;&lt;/p&gt;
  149. </description>
  150. </item>
  151. </channel>
  152. </rss>