blackbirdchess-docker-dev/docs/introduction/index.xml
2017-04-14 17:46:35 -04:00

157 lines
8.6 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Introductions on Laradock</title>
<link>http://laradock.io/introduction/index.xml</link>
<description>Recent content in Introductions on Laradock</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="http://laradock.io/introduction/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Introduction</title>
<link>http://laradock.io/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>http://laradock.io/introduction/</guid>
<description>
&lt;p&gt;A full PHP development environment for Docker.&lt;/p&gt;
&lt;p&gt;Includes pre-packaged Docker Images, all pre-configured to provide a wonderful PHP development environment.&lt;/p&gt;
&lt;p&gt;Laradock is well known in the Laravel community, as the project started with single focus on running Laravel projects on Docker. Later and due to the large adoption from the PHP community, it started supporting other PHP projects like Symfony, CodeIgniter, WordPress, Drupal&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://s19.postimg.org/jblfytw9f/laradock-logo.jpg&#34; alt=&#34;&#34; /&gt;&lt;/p&gt;
&lt;h2 id=&#34;quick-overview&#34;&gt;Quick Overview&lt;/h2&gt;
&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;
&lt;p&gt;1 - Clone Laradock inside your PHP project:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;git clone https://github.com/Laradock/laradock.git
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;2 - Enter the laradock folder and rename &lt;code&gt;env-example&lt;/code&gt; to &lt;code&gt;.env&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;cp env-example .env
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3 - Run your containers:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;docker-compose up -d nginx mysql redis beanstalkd
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3 - Open your project&amp;rsquo;s &lt;code&gt;.env&lt;/code&gt; file and set the following:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;DB_HOST=mysql
REDIS_HOST=redis
QUEUE_HOST=beanstalkd
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;4 - Open your browser and visit localhost: &lt;code&gt;http://localhost&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;That&#39;s it! enjoy :)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a name=&#34;features&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;features&#34;&gt;Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Easy switch between PHP versions: 7.0, 5.6, 5.5&amp;hellip;&lt;/li&gt;
&lt;li&gt;Choose your favorite database engine: MySQL, Postgres, MariaDB&amp;hellip;&lt;/li&gt;
&lt;li&gt;Run your own combination of software: Memcached, HHVM, Beanstalkd&amp;hellip;&lt;/li&gt;
&lt;li&gt;Every software runs on a separate container: PHP-FPM, NGINX, PHP-CLI&amp;hellip;&lt;/li&gt;
&lt;li&gt;Easy to customize any container, with simple edit to the &lt;code&gt;Dockerfile&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;All Images extends from an official base Image. (Trusted base Images).&lt;/li&gt;
&lt;li&gt;Pre-configured NGINX for Laravel.&lt;/li&gt;
&lt;li&gt;Easy to apply configurations inside containers.&lt;/li&gt;
&lt;li&gt;Clean and well structured Dockerfiles (&lt;code&gt;Dockerfile&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Latest version of the Docker Compose file (&lt;code&gt;docker-compose&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Everything is visible and editable.&lt;/li&gt;
&lt;li&gt;Fast Images Builds.&lt;/li&gt;
&lt;li&gt;More to come every week..&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Supported-Containers&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;supported-software-images&#34;&gt;Supported Software (Images)&lt;/h2&gt;
&lt;p&gt;In adhering to the separation of concerns principle as promoted by Docker, Laradock runs each software on its own Container.
You can turn On/Off as many instances of as any container without worrying about the configurations, everything works like a charm.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Database Engines:&lt;/strong&gt;
MySQL - MariaDB - MongoDB - Neo4j - RethinkDB - PostgreSQL - Postgres Postgis.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cache Engines:&lt;/strong&gt;
Redis - Memcached - Aerospike&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PHP Servers:&lt;/strong&gt;
NGINX - Apache2 - Caddy&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PHP Compilers:&lt;/strong&gt;
PHP FPM - HHVM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Message Queuing:&lt;/strong&gt;
Beanstalkd - Beanstalkd Console - RabbitMQ - RabbitMQ Console&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt;
PhpMyAdmin - Adminer - PgAdmin - ElasticSearch - Selenium - Certbot - Mailhog - Minio&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Laradock introduces the &lt;strong&gt;Workspace&lt;/strong&gt; Image, as a development environment.
It contains a rich set of helpful tools, all pre-configured to work and integrate with almost any combination of Containers and tools you may choose.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workspace Image Tools&lt;/strong&gt;
PHP CLI - Composer - Git - Linuxbrew - Node - Gulp - SQLite - xDebug - Envoy - Deployer - Vim - Yarn&amp;hellip;&lt;/p&gt;
&lt;p&gt;You can choose, which tools to install in your workspace container and other containers, from the &lt;code&gt;.env&lt;/code&gt; file.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you modify &lt;code&gt;docker-compose.yml&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt; or any &lt;code&gt;dockerfile&lt;/code&gt; file, you must re-build your containers, to see those effects in the running instance.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you can&amp;rsquo;t find your Software in the list, build it yourself and sumit it. Contributions are welcomed :)&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;what-is-docker&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-is-docker&#34;&gt;What is Docker?&lt;/h2&gt;
&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;
&lt;p&gt;&lt;a name=&#34;why-docker-not-vagrant&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;why-docker-not-vagrant&#34;&gt;Why Docker not Vagrant!?&lt;/h2&gt;
&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;
&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;
&lt;p&gt;In addition to the speed, Docker gives tons of features that cannot be achieved with Vagrant.&lt;/p&gt;
&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;
&lt;p&gt;&lt;a name=&#34;Demo&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;demo-video&#34;&gt;Demo Video&lt;/h2&gt;
&lt;p&gt;What&amp;rsquo;s better than a &lt;strong&gt;Demo Video&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Laradock v5.* (soon or never)&lt;/li&gt;
&lt;li&gt;Laradock &lt;a href=&#34;https://www.youtube.com/watch?v=TQii1jDa96Y&#34;&gt;v4.*&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Laradock &lt;a href=&#34;https://www.youtube.com/watch?v=-DamFMczwDA&#34;&gt;v2.*&lt;/a&gt;&lt;/li&gt;
&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;
&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;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Chat&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;chat-with-us&#34;&gt;Chat with us&lt;/h2&gt;
&lt;p&gt;You are welcome to join our chat room on Gitter.&lt;/p&gt;
&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;
</description>
</item>
</channel>
</rss>