update the docs
This commit is contained in:
parent
8e8020e8b0
commit
e5fa629a64
@ -47,44 +47,44 @@ googleAnalytics = ""
|
|||||||
# ------- MENU START -----------------------------------------
|
# ------- MENU START -----------------------------------------
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Introduction"
|
name = "Overview"
|
||||||
url = "/"
|
url = "/"
|
||||||
weight = 0
|
weight = 1
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Getting started"
|
name = "Getting Started"
|
||||||
url = "getting-started/"
|
url = "getting-started/"
|
||||||
weight = 10
|
weight = 2
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Documentation"
|
name = "Documentation"
|
||||||
url = "documentation/"
|
url = "documentation/"
|
||||||
weight = 20
|
weight = 3
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Related Projects"
|
name = "Related Projects"
|
||||||
url = "related-projects/"
|
url = "related-projects/"
|
||||||
weight = 30
|
weight = 4
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Help & Questions"
|
name = "Help & Questions"
|
||||||
url = "help/"
|
url = "help/"
|
||||||
weight = 40
|
weight = 5
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Contributing"
|
name = "Contributing"
|
||||||
url = "contributing/"
|
url = "contributing/"
|
||||||
weight = 50
|
weight = 6
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "License"
|
name = "License"
|
||||||
url = "license/"
|
url = "license/"
|
||||||
weight = 60
|
weight = 7
|
||||||
|
|
||||||
# ------- MENU END -----------------------------------------
|
# ------- MENU END -----------------------------------------
|
||||||
|
|
||||||
[blackfriday]
|
[blackfriday]
|
||||||
smartypants = false
|
smartypants = true
|
||||||
fractions = false
|
fractions = true
|
||||||
smartDashes = false
|
smartDashes = true
|
||||||
plainIDAnchors = false
|
plainIDAnchors = true
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Contributing
|
title: Contributing
|
||||||
type: index
|
type: index
|
||||||
weight: 50
|
weight: 6
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Documentation
|
title: Documentation
|
||||||
type: index
|
type: index
|
||||||
weight: 20
|
weight: 3
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
---
|
---
|
||||||
date: 2017
|
title: Getting Started
|
||||||
title: Getting started
|
type: index
|
||||||
weight: 10
|
weight: 2
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="Requirements"></a>
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- [Git](https://git-scm.com/downloads)
|
- [Git](https://git-scm.com/downloads)
|
||||||
@ -16,8 +14,6 @@ weight: 10
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="Installation"></a>
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Choose the setup the best suits your needs.
|
Choose the setup the best suits your needs.
|
||||||
@ -114,8 +110,6 @@ Do the same for each project `project2.conf`, `project3.conf`,...
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="Usage"></a>
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
**Read Before starting:**
|
**Read Before starting:**
|
||||||
@ -183,12 +177,3 @@ DB_HOST=mysql
|
|||||||
|
|
||||||
If you need a special support. Contact me, more details in the [Help & Questions](#Help) section.
|
If you need a special support. Contact me, more details in the [Help & Questions](#Help) section.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Help & Questions
|
title: Help & Questions
|
||||||
type: index
|
type: index
|
||||||
weight: 40
|
weight: 5
|
||||||
---
|
---
|
||||||
|
|
||||||
Join the chat room on [Gitter](https://gitter.im/LaraDock/laradock) and get help and support from the community.
|
Join the chat room on [Gitter](https://gitter.im/LaraDock/laradock) and get help and support from the community.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Welcome to Laradock
|
title: Overview
|
||||||
type: index
|
type: index
|
||||||
weight: 0
|
weight: 1
|
||||||
---
|
---
|
||||||
|
|
||||||
LaraDock strives to make the PHP development experience easier and faster.
|
LaraDock strives to make the PHP development experience easier and faster.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: License
|
title: License
|
||||||
type: index
|
type: index
|
||||||
weight: 60
|
weight: 7
|
||||||
---
|
---
|
||||||
|
|
||||||
[MIT License](https://github.com/laradock/laradock/blob/master/LICENSE) (MIT)
|
[MIT License](https://github.com/laradock/laradock/blob/master/LICENSE) (MIT)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Related Projects
|
title: Related Projects
|
||||||
type: index
|
type: index
|
||||||
weight: 30
|
weight: 4
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@ -180,9 +180,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Introduction" href="http://laradock.io/">
|
<a title="Overview" href="http://laradock.io/">
|
||||||
|
|
||||||
Introduction
|
Overview
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -198,9 +198,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Getting started" href="http://laradock.io/getting-started/">
|
<a title="Getting Started" href="http://laradock.io/getting-started/">
|
||||||
|
|
||||||
Getting started
|
Getting Started
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -336,26 +336,26 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2 id="guidelines:d680e8a854a7cbad6d490c445cba2eba">Guidelines</h2>
|
<h2 id="guidelines">Guidelines</h2>
|
||||||
|
|
||||||
<p>Your contribution is more than welcome.</p>
|
<p>Your contribution is more than welcome.</p>
|
||||||
|
|
||||||
<h3 id="got-a-question-or-problem:d680e8a854a7cbad6d490c445cba2eba">Got a Question or Problem?</h3>
|
<h3 id="got-a-question-or-problem">Got a Question or Problem?</h3>
|
||||||
|
|
||||||
<p>If you have questions about how to use LaraDock, please direct your questions to the discussion on <a href="https://gitter.im/LaraDock/laradock">Gitter</a>. If you believe your question could help others, then consider opening an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Question).</p>
|
<p>If you have questions about how to use LaraDock, please direct your questions to the discussion on <a href="https://gitter.im/LaraDock/laradock">Gitter</a>. If you believe your question could help others, then consider opening an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Question).</p>
|
||||||
|
|
||||||
<h3 id="found-an-issue:d680e8a854a7cbad6d490c445cba2eba">Found an Issue?</h3>
|
<h3 id="found-an-issue">Found an Issue?</h3>
|
||||||
|
|
||||||
<p>If you find a bug in the source code or a mistake in the documentation, you can help us by
|
<p>If you find a bug in the source code or a mistake in the documentation, you can help us by
|
||||||
submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a>. Even better you can submit a Pull Request with a fix.</p>
|
submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a>. Even better you can submit a Pull Request with a fix.</p>
|
||||||
|
|
||||||
<h3 id="want-a-feature:d680e8a854a7cbad6d490c445cba2eba">Want a Feature?</h3>
|
<h3 id="want-a-feature">Want a Feature?</h3>
|
||||||
|
|
||||||
<p>You can request a new feature by submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Feature Suggestion). If you would like to implement a new feature then consider submitting a Pull Request.</p>
|
<p>You can request a new feature by submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Feature Suggestion). If you would like to implement a new feature then consider submitting a Pull Request.</p>
|
||||||
|
|
||||||
<h2 id="coding-guidelines:d680e8a854a7cbad6d490c445cba2eba">Coding Guidelines</h2>
|
<h2 id="coding-guidelines">Coding Guidelines</h2>
|
||||||
|
|
||||||
<h3 id="support-new-software:d680e8a854a7cbad6d490c445cba2eba">Support new Software</h3>
|
<h3 id="support-new-software">Support new Software</h3>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Create folder with the software name.</p></li>
|
<li><p>Create folder with the software name.</p></li>
|
||||||
@ -371,7 +371,7 @@ submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a>. E
|
|||||||
<li><p>Add the software in the <code>Readme</code>.</p></li>
|
<li><p>Add the software in the <code>Readme</code>.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3 id="edit-existing-software:d680e8a854a7cbad6d490c445cba2eba">Edit existing Software</h3>
|
<h3 id="edit-existing-software">Edit existing Software</h3>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Open the software (container) folder.</p></li>
|
<li><p>Open the software (container) folder.</p></li>
|
||||||
@ -384,17 +384,17 @@ you need to edit their Dockerfiles from their GitHub repositories. For more info
|
|||||||
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
|
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2 id="issue-pr-submission-guidelines:d680e8a854a7cbad6d490c445cba2eba">Issue/PR Submission Guidelines</h2>
|
<h2 id="issue-pr-submission-guidelines">Issue/PR Submission Guidelines</h2>
|
||||||
|
|
||||||
<h3 id="submitting-an-issue:d680e8a854a7cbad6d490c445cba2eba">Submitting an Issue</h3>
|
<h3 id="submitting-an-issue">Submitting an Issue</h3>
|
||||||
|
|
||||||
<p>Before you submit your issue search the archive, maybe your question was already answered.</p>
|
<p>Before you submit your issue search the archive, maybe your question was already answered.</p>
|
||||||
|
|
||||||
<p>If your issue appears to be a bug, and hasn't been reported, open a new issue.
|
<p>If your issue appears to be a bug, and hasn’t been reported, open a new issue.
|
||||||
Help us to maximize the effort we can spend fixing issues and adding new
|
Help us to maximize the effort we can spend fixing issues and adding new
|
||||||
features, by not reporting duplicate issues.</p>
|
features, by not reporting duplicate issues.</p>
|
||||||
|
|
||||||
<h3 id="before-submitting-a-pull-request-pr:d680e8a854a7cbad6d490c445cba2eba">Before Submitting a Pull Request (PR)</h3>
|
<h3 id="before-submitting-a-pull-request-pr">Before Submitting a Pull Request (PR)</h3>
|
||||||
|
|
||||||
<p>Always Test everything and make sure its working:</p>
|
<p>Always Test everything and make sure its working:</p>
|
||||||
|
|
||||||
@ -403,7 +403,7 @@ features, by not reporting duplicate issues.</p>
|
|||||||
<li>Before editing anything:
|
<li>Before editing anything:
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Test building the container (docker-compose build --no-cache container-name) build with no cache first.</li>
|
<li>Test building the container (docker-compose build –no-cache container-name) build with no cache first.</li>
|
||||||
<li>Test running the container with some other containers in real app and see of everything is working fine.</li>
|
<li>Test running the container with some other containers in real app and see of everything is working fine.</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li>Now edit the container (edit section by section and test rebuilding the container after every edited section)
|
<li>Now edit the container (edit section by section and test rebuilding the container after every edited section)
|
||||||
@ -414,12 +414,12 @@ features, by not reporting duplicate issues.</p>
|
|||||||
</ul></li>
|
</ul></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3 id="submitting-a-pr:d680e8a854a7cbad6d490c445cba2eba">Submitting a PR</h3>
|
<h3 id="submitting-a-pr">Submitting a PR</h3>
|
||||||
|
|
||||||
<p>Consider the following guidelines:</p>
|
<p>Consider the following guidelines:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Search <a href="https://github.com/laradock/laradock/pulls">GitHub</a> for an open or closed Pull Request that relates to your submission. You don't want to duplicate effort.</p></li>
|
<li><p>Search <a href="https://github.com/laradock/laradock/pulls">GitHub</a> for an open or closed Pull Request that relates to your submission. You don’t want to duplicate effort.</p></li>
|
||||||
|
|
||||||
<li><p>Make your changes in a new git branch:</p>
|
<li><p>Make your changes in a new git branch:</p>
|
||||||
|
|
||||||
@ -454,7 +454,7 @@ git push origin my-fix-branch -f
|
|||||||
|
|
||||||
<p><em>WARNING. Squashing or reverting commits and forced push thereafter may remove GitHub comments on code that were previously made by you and others in your commits.</em></p>
|
<p><em>WARNING. Squashing or reverting commits and forced push thereafter may remove GitHub comments on code that were previously made by you and others in your commits.</em></p>
|
||||||
|
|
||||||
<h3 id="after-your-pr-is-merged:d680e8a854a7cbad6d490c445cba2eba">After your PR is merged</h3>
|
<h3 id="after-your-pr-is-merged">After your PR is merged</h3>
|
||||||
|
|
||||||
<p>After your pull request is merged, you can safely delete your branch and pull the changes
|
<p>After your pull request is merged, you can safely delete your branch and pull the changes
|
||||||
from the main (upstream) repository:</p>
|
from the main (upstream) repository:</p>
|
||||||
@ -483,7 +483,7 @@ from the main (upstream) repository:</p>
|
|||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="happy-coding:d680e8a854a7cbad6d490c445cba2eba">Happy Coding :)</h3>
|
<h3 id="happy-coding">Happy Coding :)</h3>
|
||||||
|
|
||||||
|
|
||||||
<aside class="copyright" role="note">
|
<aside class="copyright" role="note">
|
||||||
|
@ -16,26 +16,26 @@
|
|||||||
<guid>http://laradock.io/contributing/</guid>
|
<guid>http://laradock.io/contributing/</guid>
|
||||||
<description>
|
<description>
|
||||||
|
|
||||||
<h2 id="guidelines:d680e8a854a7cbad6d490c445cba2eba">Guidelines</h2>
|
<h2 id="guidelines">Guidelines</h2>
|
||||||
|
|
||||||
<p>Your contribution is more than welcome.</p>
|
<p>Your contribution is more than welcome.</p>
|
||||||
|
|
||||||
<h3 id="got-a-question-or-problem:d680e8a854a7cbad6d490c445cba2eba">Got a Question or Problem?</h3>
|
<h3 id="got-a-question-or-problem">Got a Question or Problem?</h3>
|
||||||
|
|
||||||
<p>If you have questions about how to use LaraDock, please direct your questions to the discussion on <a href="https://gitter.im/LaraDock/laradock">Gitter</a>. If you believe your question could help others, then consider opening an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Question).</p>
|
<p>If you have questions about how to use LaraDock, please direct your questions to the discussion on <a href="https://gitter.im/LaraDock/laradock">Gitter</a>. If you believe your question could help others, then consider opening an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Question).</p>
|
||||||
|
|
||||||
<h3 id="found-an-issue:d680e8a854a7cbad6d490c445cba2eba">Found an Issue?</h3>
|
<h3 id="found-an-issue">Found an Issue?</h3>
|
||||||
|
|
||||||
<p>If you find a bug in the source code or a mistake in the documentation, you can help us by
|
<p>If you find a bug in the source code or a mistake in the documentation, you can help us by
|
||||||
submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a>. Even better you can submit a Pull Request with a fix.</p>
|
submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a>. Even better you can submit a Pull Request with a fix.</p>
|
||||||
|
|
||||||
<h3 id="want-a-feature:d680e8a854a7cbad6d490c445cba2eba">Want a Feature?</h3>
|
<h3 id="want-a-feature">Want a Feature?</h3>
|
||||||
|
|
||||||
<p>You can request a new feature by submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Feature Suggestion). If you would like to implement a new feature then consider submitting a Pull Request.</p>
|
<p>You can request a new feature by submitting an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as Feature Suggestion). If you would like to implement a new feature then consider submitting a Pull Request.</p>
|
||||||
|
|
||||||
<h2 id="coding-guidelines:d680e8a854a7cbad6d490c445cba2eba">Coding Guidelines</h2>
|
<h2 id="coding-guidelines">Coding Guidelines</h2>
|
||||||
|
|
||||||
<h3 id="support-new-software:d680e8a854a7cbad6d490c445cba2eba">Support new Software</h3>
|
<h3 id="support-new-software">Support new Software</h3>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Create folder with the software name.</p></li>
|
<li><p>Create folder with the software name.</p></li>
|
||||||
@ -51,7 +51,7 @@ submitting an <a href="https://github.com/laradock/laradock/issues"&g
|
|||||||
<li><p>Add the software in the <code>Readme</code>.</p></li>
|
<li><p>Add the software in the <code>Readme</code>.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3 id="edit-existing-software:d680e8a854a7cbad6d490c445cba2eba">Edit existing Software</h3>
|
<h3 id="edit-existing-software">Edit existing Software</h3>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Open the software (container) folder.</p></li>
|
<li><p>Open the software (container) folder.</p></li>
|
||||||
@ -64,17 +64,17 @@ you need to edit their Dockerfiles from their GitHub repositories. For more info
|
|||||||
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
|
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2 id="issue-pr-submission-guidelines:d680e8a854a7cbad6d490c445cba2eba">Issue/PR Submission Guidelines</h2>
|
<h2 id="issue-pr-submission-guidelines">Issue/PR Submission Guidelines</h2>
|
||||||
|
|
||||||
<h3 id="submitting-an-issue:d680e8a854a7cbad6d490c445cba2eba">Submitting an Issue</h3>
|
<h3 id="submitting-an-issue">Submitting an Issue</h3>
|
||||||
|
|
||||||
<p>Before you submit your issue search the archive, maybe your question was already answered.</p>
|
<p>Before you submit your issue search the archive, maybe your question was already answered.</p>
|
||||||
|
|
||||||
<p>If your issue appears to be a bug, and hasn't been reported, open a new issue.
|
<p>If your issue appears to be a bug, and hasn&rsquo;t been reported, open a new issue.
|
||||||
Help us to maximize the effort we can spend fixing issues and adding new
|
Help us to maximize the effort we can spend fixing issues and adding new
|
||||||
features, by not reporting duplicate issues.</p>
|
features, by not reporting duplicate issues.</p>
|
||||||
|
|
||||||
<h3 id="before-submitting-a-pull-request-pr:d680e8a854a7cbad6d490c445cba2eba">Before Submitting a Pull Request (PR)</h3>
|
<h3 id="before-submitting-a-pull-request-pr">Before Submitting a Pull Request (PR)</h3>
|
||||||
|
|
||||||
<p>Always Test everything and make sure its working:</p>
|
<p>Always Test everything and make sure its working:</p>
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ features, by not reporting duplicate issues.</p>
|
|||||||
<li>Before editing anything:
|
<li>Before editing anything:
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Test building the container (docker-compose build --no-cache container-name) build with no cache first.</li>
|
<li>Test building the container (docker-compose build &ndash;no-cache container-name) build with no cache first.</li>
|
||||||
<li>Test running the container with some other containers in real app and see of everything is working fine.</li>
|
<li>Test running the container with some other containers in real app and see of everything is working fine.</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li>Now edit the container (edit section by section and test rebuilding the container after every edited section)
|
<li>Now edit the container (edit section by section and test rebuilding the container after every edited section)
|
||||||
@ -94,12 +94,12 @@ features, by not reporting duplicate issues.</p>
|
|||||||
</ul></li>
|
</ul></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3 id="submitting-a-pr:d680e8a854a7cbad6d490c445cba2eba">Submitting a PR</h3>
|
<h3 id="submitting-a-pr">Submitting a PR</h3>
|
||||||
|
|
||||||
<p>Consider the following guidelines:</p>
|
<p>Consider the following guidelines:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>Search <a href="https://github.com/laradock/laradock/pulls">GitHub</a> for an open or closed Pull Request that relates to your submission. You don't want to duplicate effort.</p></li>
|
<li><p>Search <a href="https://github.com/laradock/laradock/pulls">GitHub</a> for an open or closed Pull Request that relates to your submission. You don&rsquo;t want to duplicate effort.</p></li>
|
||||||
|
|
||||||
<li><p>Make your changes in a new git branch:</p>
|
<li><p>Make your changes in a new git branch:</p>
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ git push origin my-fix-branch -f
|
|||||||
|
|
||||||
<p><em>WARNING. Squashing or reverting commits and forced push thereafter may remove GitHub comments on code that were previously made by you and others in your commits.</em></p>
|
<p><em>WARNING. Squashing or reverting commits and forced push thereafter may remove GitHub comments on code that were previously made by you and others in your commits.</em></p>
|
||||||
|
|
||||||
<h3 id="after-your-pr-is-merged:d680e8a854a7cbad6d490c445cba2eba">After your PR is merged</h3>
|
<h3 id="after-your-pr-is-merged">After your PR is merged</h3>
|
||||||
|
|
||||||
<p>After your pull request is merged, you can safely delete your branch and pull the changes
|
<p>After your pull request is merged, you can safely delete your branch and pull the changes
|
||||||
from the main (upstream) repository:</p>
|
from the main (upstream) repository:</p>
|
||||||
@ -163,7 +163,7 @@ from the main (upstream) repository:</p>
|
|||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="happy-coding:d680e8a854a7cbad6d490c445cba2eba">Happy Coding :)</h3>
|
<h3 id="happy-coding">Happy Coding :)</h3>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -180,9 +180,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Introduction" href="http://laradock.io/">
|
<a title="Overview" href="http://laradock.io/">
|
||||||
|
|
||||||
Introduction
|
Overview
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -198,9 +198,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Getting started" href="http://laradock.io/getting-started/">
|
<a title="Getting Started" href="http://laradock.io/getting-started/">
|
||||||
|
|
||||||
Getting started
|
Getting Started
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -340,7 +340,7 @@
|
|||||||
|
|
||||||
<p><a name="List-current-running-Containers"></a></p>
|
<p><a name="List-current-running-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="list-current-running-containers:d680e8a854a7cbad6d490c445cba2eba">List current running Containers</h2>
|
<h2 id="list-current-running-containers">List current running Containers</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker ps
|
<pre><code class="language-bash">docker ps
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -353,7 +353,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Close-all-running-Containers"></a></p>
|
<a name="Close-all-running-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="close-all-running-containers:d680e8a854a7cbad6d490c445cba2eba">Close all running Containers</h2>
|
<h2 id="close-all-running-containers">Close all running Containers</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose stop
|
<pre><code class="language-bash">docker-compose stop
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -366,7 +366,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Delete-all-existing-Containers"></a></p>
|
<a name="Delete-all-existing-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="delete-all-existing-containers:d680e8a854a7cbad6d490c445cba2eba">Delete all existing Containers</h2>
|
<h2 id="delete-all-existing-containers">Delete all existing Containers</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose down
|
<pre><code class="language-bash">docker-compose down
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -374,7 +374,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Enter-Container"></a></p>
|
<a name="Enter-Container"></a></p>
|
||||||
|
|
||||||
<h2 id="enter-a-container-run-commands-in-a-running-container:d680e8a854a7cbad6d490c445cba2eba">Enter a Container (run commands in a running Container)</h2>
|
<h2 id="enter-a-container-run-commands-in-a-running-container">Enter a Container (run commands in a running Container)</h2>
|
||||||
|
|
||||||
<p>1 - First list the current running containers with <code>docker ps</code></p>
|
<p>1 - First list the current running containers with <code>docker ps</code></p>
|
||||||
|
|
||||||
@ -398,7 +398,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Edit-Container"></a></p>
|
<a name="Edit-Container"></a></p>
|
||||||
|
|
||||||
<h2 id="edit-default-container-configuration:d680e8a854a7cbad6d490c445cba2eba">Edit default container configuration</h2>
|
<h2 id="edit-default-container-configuration">Edit default container configuration</h2>
|
||||||
|
|
||||||
<p>Open the <code>docker-compose.yml</code> and change anything you want.</p>
|
<p>Open the <code>docker-compose.yml</code> and change anything you want.</p>
|
||||||
|
|
||||||
@ -421,7 +421,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Edit-a-Docker-Image"></a></p>
|
<a name="Edit-a-Docker-Image"></a></p>
|
||||||
|
|
||||||
<h2 id="edit-a-docker-image:d680e8a854a7cbad6d490c445cba2eba">Edit a Docker Image</h2>
|
<h2 id="edit-a-docker-image">Edit a Docker Image</h2>
|
||||||
|
|
||||||
<p>1 - Find the <code>Dockerfile</code> of the image you want to edit,
|
<p>1 - Find the <code>Dockerfile</code> of the image you want to edit,
|
||||||
<br>
|
<br>
|
||||||
@ -439,7 +439,7 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfile</code>.</p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Build-Re-build-Containers"></a></p>
|
<a name="Build-Re-build-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="build-re-build-containers:d680e8a854a7cbad6d490c445cba2eba">Build/Re-build Containers</h2>
|
<h2 id="build-re-build-containers">Build/Re-build Containers</h2>
|
||||||
|
|
||||||
<p>If you do any change to any <code>Dockerfile</code> make sure you run this command, for the changes to take effect:</p>
|
<p>If you do any change to any <code>Dockerfile</code> make sure you run this command, for the changes to take effect:</p>
|
||||||
|
|
||||||
@ -456,18 +456,18 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfile</code>.</p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Add-Docker-Images"></a></p>
|
<a name="Add-Docker-Images"></a></p>
|
||||||
|
|
||||||
<h2 id="add-more-software-docker-images:d680e8a854a7cbad6d490c445cba2eba">Add more Software (Docker Images)</h2>
|
<h2 id="add-more-software-docker-images">Add more Software (Docker Images)</h2>
|
||||||
|
|
||||||
<p>To add an image (software), just edit the <code>docker-compose.yml</code> and add your container details, to do so you need to be familiar with the <a href="https://docs.docker.com/compose/compose-file/">docker compose file syntax</a>.</p>
|
<p>To add an image (software), just edit the <code>docker-compose.yml</code> and add your container details, to do so you need to be familiar with the <a href="https://docs.docker.com/compose/compose-file/">docker compose file syntax</a>.</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="View-the-Log-files"></a></p>
|
<a name="View-the-Log-files"></a></p>
|
||||||
|
|
||||||
<h2 id="view-the-log-files:d680e8a854a7cbad6d490c445cba2eba">View the Log files</h2>
|
<h2 id="view-the-log-files">View the Log files</h2>
|
||||||
|
|
||||||
<p>The NGINX Log file is stored in the <code>logs/nginx</code> directory.</p>
|
<p>The NGINX Log file is stored in the <code>logs/nginx</code> directory.</p>
|
||||||
|
|
||||||
<p>However to view the logs of all the other containers (MySQL, PHP-FPM,...) you can run this:</p>
|
<p>However to view the logs of all the other containers (MySQL, PHP-FPM,…) you can run this:</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker logs {container-name}
|
<pre><code class="language-bash">docker logs {container-name}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -477,7 +477,7 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfile</code>.</p>
|
|||||||
|
|
||||||
<p><a name="Install-PHP-Extensions"></a></p>
|
<p><a name="Install-PHP-Extensions"></a></p>
|
||||||
|
|
||||||
<h2 id="install-php-extensions:d680e8a854a7cbad6d490c445cba2eba">Install PHP Extensions</h2>
|
<h2 id="install-php-extensions">Install PHP Extensions</h2>
|
||||||
|
|
||||||
<p>Before installing PHP extensions, you have to decide whether you need for the <code>FPM</code> or <code>CLI</code> because each lives on a different container, if you need it for both you have to edit both containers.</p>
|
<p>Before installing PHP extensions, you have to decide whether you need for the <code>FPM</code> or <code>CLI</code> because each lives on a different container, if you need it for both you have to edit both containers.</p>
|
||||||
|
|
||||||
@ -488,15 +488,15 @@ The PHP-CLI extensions should be installed in <code>workspace/Dockerfile</code>.
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-the-PHP-FPM-Version"></a></p>
|
<a name="Change-the-PHP-FPM-Version"></a></p>
|
||||||
|
|
||||||
<h2 id="change-the-php-fpm-version:d680e8a854a7cbad6d490c445cba2eba">Change the (PHP-FPM) Version</h2>
|
<h2 id="change-the-php-fpm-version">Change the (PHP-FPM) Version</h2>
|
||||||
|
|
||||||
<p>By default <strong>PHP-FPM 7.0</strong> is running.</p>
|
<p>By default <strong>PHP-FPM 7.0</strong> is running.</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>The PHP-FPM is responsible of serving your application code, you don't have to change the PHP-CLI version if you are planning to run your application on different PHP-FPM version.</p>
|
<p>The PHP-FPM is responsible of serving your application code, you don’t have to change the PHP-CLI version if you are planning to run your application on different PHP-FPM version.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h3 id="a-switch-from-php-7-0-to-php-5-6:d680e8a854a7cbad6d490c445cba2eba">A) Switch from PHP <code>7.0</code> to PHP <code>5.6</code></h3>
|
<h3 id="a-switch-from-php-7-0-to-php-5-6">A) Switch from PHP <code>7.0</code> to PHP <code>5.6</code></h3>
|
||||||
|
|
||||||
<p>1 - Open the <code>docker-compose.yml</code>.</p>
|
<p>1 - Open the <code>docker-compose.yml</code>.</p>
|
||||||
|
|
||||||
@ -520,7 +520,7 @@ The PHP-CLI extensions should be installed in <code>workspace/Dockerfile</code>.
|
|||||||
<p>For more details about the PHP base image, visit the <a href="https://hub.docker.com/_/php/">official PHP docker images</a>.</p>
|
<p>For more details about the PHP base image, visit the <a href="https://hub.docker.com/_/php/">official PHP docker images</a>.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h3 id="b-switch-from-php-7-0-or-5-6-to-php-5-5:d680e8a854a7cbad6d490c445cba2eba">B) Switch from PHP <code>7.0</code> or <code>5.6</code> to PHP <code>5.5</code></h3>
|
<h3 id="b-switch-from-php-7-0-or-5-6-to-php-5-5">B) Switch from PHP <code>7.0</code> or <code>5.6</code> to PHP <code>5.5</code></h3>
|
||||||
|
|
||||||
<p>We do not natively support PHP 5.5 anymore, but you can get it in few steps:</p>
|
<p>We do not natively support PHP 5.5 anymore, but you can get it in few steps:</p>
|
||||||
|
|
||||||
@ -539,22 +539,22 @@ The PHP-CLI extensions should be installed in <code>workspace/Dockerfile</code>.
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-the-PHP-CLI-Version"></a></p>
|
<a name="Change-the-PHP-CLI-Version"></a></p>
|
||||||
|
|
||||||
<h2 id="change-the-php-cli-version:d680e8a854a7cbad6d490c445cba2eba">Change the PHP-CLI Version</h2>
|
<h2 id="change-the-php-cli-version">Change the PHP-CLI Version</h2>
|
||||||
|
|
||||||
<p>By default <strong>PHP-CLI 7.0</strong> is running.</p>
|
<p>By default <strong>PHP-CLI 7.0</strong> is running.</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Note: it's not very essential to edit the PHP-CLI version. The PHP-CLI is only used for the Artisan Commands & Composer. It doesn't serve your Application code, this is the PHP-FPM job.</p>
|
<p>Note: it’s not very essential to edit the PHP-CLI version. The PHP-CLI is only used for the Artisan Commands & Composer. It doesn’t serve your Application code, this is the PHP-FPM job.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<p>The PHP-CLI is installed in the Workspace container. To change the PHP-CLI version you need to edit the <code>workspace/Dockerfile</code>.</p>
|
<p>The PHP-CLI is installed in the Workspace container. To change the PHP-CLI version you need to edit the <code>workspace/Dockerfile</code>.</p>
|
||||||
|
|
||||||
<p>Right now you have to manually edit the <code>Dockerfile</code> or create a new one like it's done for the PHP-FPM. (consider contributing).</p>
|
<p>Right now you have to manually edit the <code>Dockerfile</code> or create a new one like it’s done for the PHP-FPM. (consider contributing).</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-xDebug"></a></p>
|
<a name="Install-xDebug"></a></p>
|
||||||
|
|
||||||
<h2 id="install-xdebug:d680e8a854a7cbad6d490c445cba2eba">Install xDebug</h2>
|
<h2 id="install-xdebug">Install xDebug</h2>
|
||||||
|
|
||||||
<p>1 - First install <code>xDebug</code> in the Workspace and the PHP-FPM Containers:
|
<p>1 - First install <code>xDebug</code> in the Workspace and the PHP-FPM Containers:
|
||||||
<br>
|
<br>
|
||||||
@ -598,7 +598,7 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Control-xDebug"></a></p>
|
<a name="Control-xDebug"></a></p>
|
||||||
|
|
||||||
<h2 id="start-stop-xdebug:d680e8a854a7cbad6d490c445cba2eba">Start/Stop xDebug:</h2>
|
<h2 id="start-stop-xdebug">Start/Stop xDebug:</h2>
|
||||||
|
|
||||||
<p>By installing xDebug, you are enabling it to run on startup by default.</p>
|
<p>By installing xDebug, you are enabling it to run on startup by default.</p>
|
||||||
|
|
||||||
@ -610,12 +610,12 @@ xdebug.remote_connect_back=1
|
|||||||
<li>See the status: <code>./xdebugPhpFpm status</code>.</li>
|
<li>See the status: <code>./xdebugPhpFpm status</code>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>Note: If <code>./xdebugPhpFpm</code> doesn't execute and gives <code>Permission Denied</code> error the problem can be that file <code>xdebugPhpFpm</code> doesn't have execution access. This can be fixed by running <code>chmod</code> command with desired access permissions.</p>
|
<p>Note: If <code>./xdebugPhpFpm</code> doesn’t execute and gives <code>Permission Denied</code> error the problem can be that file <code>xdebugPhpFpm</code> doesn’t have execution access. This can be fixed by running <code>chmod</code> command with desired access permissions.</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Deployer"></a></p>
|
<a name="Install-Deployer"></a></p>
|
||||||
|
|
||||||
<h2 id="install-deployer-deployment-tool-for-php:d680e8a854a7cbad6d490c445cba2eba">Install Deployer (Deployment tool for PHP)</h2>
|
<h2 id="install-deployer-deployment-tool-for-php">Install Deployer (Deployment tool for PHP)</h2>
|
||||||
|
|
||||||
<p>1 - Open the <code>docker-compose.yml</code> file
|
<p>1 - Open the <code>docker-compose.yml</code> file
|
||||||
<br>
|
<br>
|
||||||
@ -636,7 +636,7 @@ xdebug.remote_connect_back=1
|
|||||||
|
|
||||||
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
||||||
|
|
||||||
<h4 id="deployer-documentation-here-https-deployer-org-docs:d680e8a854a7cbad6d490c445cba2eba"><a href="https://deployer.org/docs">Deployer Documentation Here</a></h4>
|
<h4 id="deployer-documentation-here-https-deployer-org-docs"><a href="https://deployer.org/docs">Deployer Documentation Here</a></h4>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Production"></a></p>
|
<a name="Production"></a></p>
|
||||||
@ -644,11 +644,11 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="LaraDock-for-Production"></a></p>
|
<a name="LaraDock-for-Production"></a></p>
|
||||||
|
|
||||||
<h2 id="prepare-laradock-for-production:d680e8a854a7cbad6d490c445cba2eba">Prepare LaraDock for Production</h2>
|
<h2 id="prepare-laradock-for-production">Prepare LaraDock for Production</h2>
|
||||||
|
|
||||||
<p>It's recommended for production to create a custom <code>docker-compose.yml</code> file. For that reason, LaraDock is shipped with <code>production-docker-compose.yml</code> which should contain only the containers you are planning to run on production (usage example: <code>docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...</code>).</p>
|
<p>It’s recommended for production to create a custom <code>docker-compose.yml</code> file. For that reason, LaraDock is shipped with <code>production-docker-compose.yml</code> which should contain only the containers you are planning to run on production (usage example: <code>docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...</code>).</p>
|
||||||
|
|
||||||
<p>Note: The Database (MySQL/MariaDB/...) ports should not be forwarded on production, because Docker will automatically publish the port on the host, which is quite insecure, unless specifically told not to. So make sure to remove these lines:</p>
|
<p>Note: The Database (MySQL/MariaDB/…) ports should not be forwarded on production, because Docker will automatically publish the port on the host, which is quite insecure, unless specifically told not to. So make sure to remove these lines:</p>
|
||||||
|
|
||||||
<pre><code>ports:
|
<pre><code>ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
@ -659,16 +659,16 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Digital-Ocean"></a></p>
|
<a name="Digital-Ocean"></a></p>
|
||||||
|
|
||||||
<h2 id="setup-laravel-and-docker-on-digital-ocean:d680e8a854a7cbad6d490c445cba2eba">Setup Laravel and Docker on Digital Ocean</h2>
|
<h2 id="setup-laravel-and-docker-on-digital-ocean">Setup Laravel and Docker on Digital Ocean</h2>
|
||||||
|
|
||||||
<h3 id="full-guide-here-https-github-com-laradock-laradock-blob-master-guides-digital-ocean-md:d680e8a854a7cbad6d490c445cba2eba"><a href="https://github.com/laradock/laradock/blob/master/_guides/digital_ocean.md">Full Guide Here</a></h3>
|
<h3 id="full-guide-here-https-github-com-laradock-laradock-blob-master-guides-digital-ocean-md"><a href="https://github.com/laradock/laradock/blob/master/_guides/digital_ocean.md">Full Guide Here</a></h3>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Laravel"></a></p>
|
<a name="Laravel"></a></p>
|
||||||
|
|
||||||
<p><a name="Install-Laravel"></a></p>
|
<p><a name="Install-Laravel"></a></p>
|
||||||
|
|
||||||
<h2 id="install-laravel-from-a-docker-container:d680e8a854a7cbad6d490c445cba2eba">Install Laravel from a Docker Container</h2>
|
<h2 id="install-laravel-from-a-docker-container">Install Laravel from a Docker Container</h2>
|
||||||
|
|
||||||
<p>1 - First you need to enter the Workspace Container.</p>
|
<p>1 - First you need to enter the Workspace Container.</p>
|
||||||
|
|
||||||
@ -708,7 +708,7 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Run-Artisan-Commands"></a></p>
|
<a name="Run-Artisan-Commands"></a></p>
|
||||||
|
|
||||||
<h2 id="run-artisan-commands:d680e8a854a7cbad6d490c445cba2eba">Run Artisan Commands</h2>
|
<h2 id="run-artisan-commands">Run Artisan Commands</h2>
|
||||||
|
|
||||||
<p>You can run artisan commands and many other Terminal commands from the Workspace container.</p>
|
<p>You can run artisan commands and many other Terminal commands from the Workspace container.</p>
|
||||||
|
|
||||||
@ -727,7 +727,7 @@ xdebug.remote_connect_back=1
|
|||||||
<pre><code class="language-bash">docker-compose exec workspace bash
|
<pre><code class="language-bash">docker-compose exec workspace bash
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host's user.</p>
|
<p>Add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host’s user.</p>
|
||||||
|
|
||||||
<p>4 - Run anything you want :)</p>
|
<p>4 - Run anything you want :)</p>
|
||||||
|
|
||||||
@ -743,7 +743,7 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Run-Laravel-Queue-Worker"></a></p>
|
<a name="Run-Laravel-Queue-Worker"></a></p>
|
||||||
|
|
||||||
<h2 id="run-laravel-queue-worker:d680e8a854a7cbad6d490c445cba2eba">Run Laravel Queue Worker</h2>
|
<h2 id="run-laravel-queue-worker">Run Laravel Queue Worker</h2>
|
||||||
|
|
||||||
<p>1 - First add <code>php-worker</code> container. It will be similar as like PHP-FPM Container.
|
<p>1 - First add <code>php-worker</code> container. It will be similar as like PHP-FPM Container.
|
||||||
<br>
|
<br>
|
||||||
@ -768,19 +768,19 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Redis"></a></p>
|
<a name="Use-Redis"></a></p>
|
||||||
|
|
||||||
<h2 id="use-redis:d680e8a854a7cbad6d490c445cba2eba">Use Redis</h2>
|
<h2 id="use-redis">Use Redis</h2>
|
||||||
|
|
||||||
<p>1 - First make sure you run the Redis Container (<code>redis</code>) with the <code>docker-compose up</code> command.</p>
|
<p>1 - First make sure you run the Redis Container (<code>redis</code>) with the <code>docker-compose up</code> command.</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose up -d redis
|
<pre><code class="language-bash">docker-compose up -d redis
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>2 - Open your Laravel's <code>.env</code> file and set the <code>REDIS_HOST</code> to <code>redis</code></p>
|
<p>2 - Open your Laravel’s <code>.env</code> file and set the <code>REDIS_HOST</code> to <code>redis</code></p>
|
||||||
|
|
||||||
<pre><code class="language-env">REDIS_HOST=redis
|
<pre><code class="language-env">REDIS_HOST=redis
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>If you don't find the <code>REDIS_HOST</code> variable in your <code>.env</code> file. Go to the database configuration file <code>config/database.php</code> and replace the default <code>127.0.0.1</code> IP with <code>redis</code> for Redis like this:</p>
|
<p>If you don’t find the <code>REDIS_HOST</code> variable in your <code>.env</code> file. Go to the database configuration file <code>config/database.php</code> and replace the default <code>127.0.0.1</code> IP with <code>redis</code> for Redis like this:</p>
|
||||||
|
|
||||||
<pre><code class="language-php">'redis' => [
|
<pre><code class="language-php">'redis' => [
|
||||||
'cluster' => false,
|
'cluster' => false,
|
||||||
@ -811,7 +811,7 @@ SESSION_DRIVER=redis
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Mongo"></a></p>
|
<a name="Use-Mongo"></a></p>
|
||||||
|
|
||||||
<h2 id="use-mongo:d680e8a854a7cbad6d490c445cba2eba">Use Mongo</h2>
|
<h2 id="use-mongo">Use Mongo</h2>
|
||||||
|
|
||||||
<p>1 - First install <code>mongo</code> in the Workspace and the PHP-FPM Containers:
|
<p>1 - First install <code>mongo</code> in the Workspace and the PHP-FPM Containers:
|
||||||
<br>
|
<br>
|
||||||
@ -869,7 +869,7 @@ e) set it to <code>true</code></p>
|
|||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>5 - Open your Laravel's <code>.env</code> file and update the following variables:</p>
|
<p>5 - Open your Laravel’s <code>.env</code> file and update the following variables:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>set the <code>DB_HOST</code> to your <code>mongo</code>.</li>
|
<li>set the <code>DB_HOST</code> to your <code>mongo</code>.</li>
|
||||||
@ -895,7 +895,7 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-phpMyAdmin"></a></p>
|
<a name="Use-phpMyAdmin"></a></p>
|
||||||
|
|
||||||
<h2 id="use-phpmyadmin:d680e8a854a7cbad6d490c445cba2eba">Use PhpMyAdmin</h2>
|
<h2 id="use-phpmyadmin">Use PhpMyAdmin</h2>
|
||||||
|
|
||||||
<p>1 - Run the phpMyAdmin Container (<code>phpmyadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
<p>1 - Run the phpMyAdmin Container (<code>phpmyadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
||||||
|
|
||||||
@ -911,7 +911,7 @@ docker-compose up -d mariadb phpmyadmin
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-pgAdmin"></a></p>
|
<a name="Use-pgAdmin"></a></p>
|
||||||
|
|
||||||
<h2 id="use-pgadmin:d680e8a854a7cbad6d490c445cba2eba">Use PgAdmin</h2>
|
<h2 id="use-pgadmin">Use PgAdmin</h2>
|
||||||
|
|
||||||
<p>1 - Run the pgAdmin Container (<code>pgadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
<p>1 - Run the pgAdmin Container (<code>pgadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
||||||
|
|
||||||
@ -923,7 +923,7 @@ docker-compose up -d mariadb phpmyadmin
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Beanstalkd"></a></p>
|
<a name="Use-Beanstalkd"></a></p>
|
||||||
|
|
||||||
<h2 id="use-beanstalkd:d680e8a854a7cbad6d490c445cba2eba">Use Beanstalkd</h2>
|
<h2 id="use-beanstalkd">Use Beanstalkd</h2>
|
||||||
|
|
||||||
<p>1 - Run the Beanstalkd Container:</p>
|
<p>1 - Run the Beanstalkd Container:</p>
|
||||||
|
|
||||||
@ -960,7 +960,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-ElasticSearch"></a></p>
|
<a name="Use-ElasticSearch"></a></p>
|
||||||
|
|
||||||
<h2 id="use-elasticsearch:d680e8a854a7cbad6d490c445cba2eba">Use ElasticSearch</h2>
|
<h2 id="use-elasticsearch">Use ElasticSearch</h2>
|
||||||
|
|
||||||
<p>1 - Run the ElasticSearch Container (<code>elasticsearch</code>) with the <code>docker-compose up</code> command:</p>
|
<p>1 - Run the ElasticSearch Container (<code>elasticsearch</code>) with the <code>docker-compose up</code> command:</p>
|
||||||
|
|
||||||
@ -969,7 +969,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code></p>
|
|||||||
|
|
||||||
<p>2 - Open your browser and visit the localhost on port <strong>9200</strong>: <code>http://localhost:9200</code></p>
|
<p>2 - Open your browser and visit the localhost on port <strong>9200</strong>: <code>http://localhost:9200</code></p>
|
||||||
|
|
||||||
<h3 id="install-elasticsearch-plugin:d680e8a854a7cbad6d490c445cba2eba">Install ElasticSearch Plugin</h3>
|
<h3 id="install-elasticsearch-plugin">Install ElasticSearch Plugin</h3>
|
||||||
|
|
||||||
<p>1 - Install the ElasticSearch plugin like <a href="https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html">delete-by-query</a>.</p>
|
<p>1 - Install the ElasticSearch plugin like <a href="https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html">delete-by-query</a>.</p>
|
||||||
|
|
||||||
@ -984,7 +984,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Selenium"></a></p>
|
<a name="Use-Selenium"></a></p>
|
||||||
|
|
||||||
<h2 id="use-selenium:d680e8a854a7cbad6d490c445cba2eba">Use Selenium</h2>
|
<h2 id="use-selenium">Use Selenium</h2>
|
||||||
|
|
||||||
<p>1 - Run the Selenium Container (<code>selenium</code>) with the <code>docker-compose up</code> command. Example:</p>
|
<p>1 - Run the Selenium Container (<code>selenium</code>) with the <code>docker-compose up</code> command. Example:</p>
|
||||||
|
|
||||||
@ -996,7 +996,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-RethinkDB"></a></p>
|
<a name="Use-RethinkDB"></a></p>
|
||||||
|
|
||||||
<h2 id="use-rethinkdb:d680e8a854a7cbad6d490c445cba2eba">Use RethinkDB</h2>
|
<h2 id="use-rethinkdb">Use RethinkDB</h2>
|
||||||
|
|
||||||
<p>The RethinkDB is an open-source Database for Real-time Web (<a href="https://rethinkdb.com/">RethinkDB</a>).
|
<p>The RethinkDB is an open-source Database for Real-time Web (<a href="https://rethinkdb.com/">RethinkDB</a>).
|
||||||
A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkDB</a>) is being developed and was released a version for Laravel 5.2 (experimental).</p>
|
A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkDB</a>) is being developed and was released a version for Laravel 5.2 (experimental).</p>
|
||||||
@ -1025,7 +1025,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>4 - Open your Laravel's <code>.env</code> file and update the following variables:</p>
|
<p>4 - Open your Laravel’s <code>.env</code> file and update the following variables:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>set the <code>DB_CONNECTION</code> to your <code>rethinkdb</code>.</li>
|
<li>set the <code>DB_CONNECTION</code> to your <code>rethinkdb</code>.</li>
|
||||||
@ -1040,7 +1040,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-CodeIgniter"></a></p>
|
<a name="Install-CodeIgniter"></a></p>
|
||||||
|
|
||||||
<h2 id="install-codeigniter:d680e8a854a7cbad6d490c445cba2eba">Install CodeIgniter</h2>
|
<h2 id="install-codeigniter">Install CodeIgniter</h2>
|
||||||
|
|
||||||
<p>To install CodeIgniter 3 on LaraDock all you have to do is the following simple steps:</p>
|
<p>To install CodeIgniter 3 on LaraDock all you have to do is the following simple steps:</p>
|
||||||
|
|
||||||
@ -1053,12 +1053,12 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Misc"></a></p>
|
<a name="Misc"></a></p>
|
||||||
|
|
||||||
<h2 id="miscellaneous:d680e8a854a7cbad6d490c445cba2eba">Miscellaneous</h2>
|
<h2 id="miscellaneous">Miscellaneous</h2>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-the-timezone"></a></p>
|
<a name="Change-the-timezone"></a></p>
|
||||||
|
|
||||||
<h2 id="change-the-timezone:d680e8a854a7cbad6d490c445cba2eba">Change the timezone</h2>
|
<h2 id="change-the-timezone">Change the timezone</h2>
|
||||||
|
|
||||||
<p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">TZ database</a>.</p>
|
<p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">TZ database</a>.</p>
|
||||||
|
|
||||||
@ -1077,7 +1077,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="CronJobs"></a></p>
|
<a name="CronJobs"></a></p>
|
||||||
|
|
||||||
<h2 id="adding-cron-jobs:d680e8a854a7cbad6d490c445cba2eba">Adding cron jobs</h2>
|
<h2 id="adding-cron-jobs">Adding cron jobs</h2>
|
||||||
|
|
||||||
<p>You can add your cron jobs to <code>workspace/crontab/root</code> after the <code>php artisan</code> line.</p>
|
<p>You can add your cron jobs to <code>workspace/crontab/root</code> after the <code>php artisan</code> line.</p>
|
||||||
|
|
||||||
@ -1087,12 +1087,12 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
* * * * * root echo "Every Minute" > /var/log/cron.log 2>&1
|
* * * * * root echo "Every Minute" > /var/log/cron.log 2>&1
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Make sure you <a href="#Change-the-timezone">change the timezone</a> if you don't want to use the default (UTC).</p>
|
<p>Make sure you <a href="#Change-the-timezone">change the timezone</a> if you don’t want to use the default (UTC).</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Workspace-ssh"></a></p>
|
<a name="Workspace-ssh"></a></p>
|
||||||
|
|
||||||
<h2 id="access-workspace-via-ssh:d680e8a854a7cbad6d490c445cba2eba">Access workspace via ssh</h2>
|
<h2 id="access-workspace-via-ssh">Access workspace via ssh</h2>
|
||||||
|
|
||||||
<p>You can access the <code>workspace</code> container through <code>localhost:2222</code> by setting the <code>INSTALL_WORKSPACE_SSH</code> build argument to <code>true</code>.</p>
|
<p>You can access the <code>workspace</code> container through <code>localhost:2222</code> by setting the <code>INSTALL_WORKSPACE_SSH</code> build argument to <code>true</code>.</p>
|
||||||
|
|
||||||
@ -1107,7 +1107,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="MySQL-access-from-host"></a></p>
|
<a name="MySQL-access-from-host"></a></p>
|
||||||
|
|
||||||
<h2 id="mysql-access-from-host:d680e8a854a7cbad6d490c445cba2eba">MySQL access from host</h2>
|
<h2 id="mysql-access-from-host">MySQL access from host</h2>
|
||||||
|
|
||||||
<p>You can forward the MySQL/MariaDB port to your host by making sure these lines are added to the <code>mysql</code> or <code>mariadb</code> section of the <code>docker-compose.yml</code> or in your <a href="https://docs.docker.com/compose/extends/">environment specific Compose</a> file.</p>
|
<p>You can forward the MySQL/MariaDB port to your host by making sure these lines are added to the <code>mysql</code> or <code>mariadb</code> section of the <code>docker-compose.yml</code> or in your <a href="https://docs.docker.com/compose/extends/">environment specific Compose</a> file.</p>
|
||||||
|
|
||||||
@ -1118,7 +1118,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="MySQL-root-access"></a></p>
|
<a name="MySQL-root-access"></a></p>
|
||||||
|
|
||||||
<h2 id="mysql-root-access:d680e8a854a7cbad6d490c445cba2eba">MySQL root access</h2>
|
<h2 id="mysql-root-access">MySQL root access</h2>
|
||||||
|
|
||||||
<p>The default username and password for the root MySQL user are <code>root</code> and <code>root</code>.</p>
|
<p>The default username and password for the root MySQL user are <code>root</code> and <code>root</code>.</p>
|
||||||
|
|
||||||
@ -1133,7 +1133,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkD
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-MySQL-port"></a></p>
|
<a name="Change-MySQL-port"></a></p>
|
||||||
|
|
||||||
<h2 id="change-mysql-port:d680e8a854a7cbad6d490c445cba2eba">Change MySQL port</h2>
|
<h2 id="change-mysql-port">Change MySQL port</h2>
|
||||||
|
|
||||||
<p>Modify the <code>mysql/my.cnf</code> file to set your port number, <code>1234</code> is used as an example.</p>
|
<p>Modify the <code>mysql/my.cnf</code> file to set your port number, <code>1234</code> is used as an example.</p>
|
||||||
|
|
||||||
@ -1146,7 +1146,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-custom-Domain"></a></p>
|
<a name="Use-custom-Domain"></a></p>
|
||||||
|
|
||||||
<h2 id="use-custom-domain-instead-of-the-docker-ip:d680e8a854a7cbad6d490c445cba2eba">Use custom Domain (instead of the Docker IP)</h2>
|
<h2 id="use-custom-domain-instead-of-the-docker-ip">Use custom Domain (instead of the Docker IP)</h2>
|
||||||
|
|
||||||
<p>Assuming your custom domain is <code>laravel.dev</code></p>
|
<p>Assuming your custom domain is <code>laravel.dev</code></p>
|
||||||
|
|
||||||
@ -1165,7 +1165,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Enable-Global-Composer-Build-Install"></a></p>
|
<a name="Enable-Global-Composer-Build-Install"></a></p>
|
||||||
|
|
||||||
<h2 id="enable-global-composer-build-install:d680e8a854a7cbad6d490c445cba2eba">Enable Global Composer Build Install</h2>
|
<h2 id="enable-global-composer-build-install">Enable Global Composer Build Install</h2>
|
||||||
|
|
||||||
<p>Enabling Global Composer Install during the build for the container allows you to get your composer requirements installed and available in the container after the build is done.</p>
|
<p>Enabling Global Composer Install during the build for the container allows you to get your composer requirements installed and available in the container after the build is done.</p>
|
||||||
|
|
||||||
@ -1190,7 +1190,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Prestissimo"></a></p>
|
<a name="Install-Prestissimo"></a></p>
|
||||||
|
|
||||||
<h2 id="install-prestissimo:d680e8a854a7cbad6d490c445cba2eba">Install Prestissimo</h2>
|
<h2 id="install-prestissimo">Install Prestissimo</h2>
|
||||||
|
|
||||||
<p><a href="https://github.com/hirak/prestissimo">Prestissimo</a> is a plugin for composer which enables parallel install functionality.</p>
|
<p><a href="https://github.com/hirak/prestissimo">Prestissimo</a> is a plugin for composer which enables parallel install functionality.</p>
|
||||||
|
|
||||||
@ -1209,7 +1209,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Node"></a></p>
|
<a name="Install-Node"></a></p>
|
||||||
|
|
||||||
<h2 id="install-node-nvm:d680e8a854a7cbad6d490c445cba2eba">Install Node + NVM</h2>
|
<h2 id="install-node-nvm">Install Node + NVM</h2>
|
||||||
|
|
||||||
<p>To install NVM and NodeJS in the Workspace container</p>
|
<p>To install NVM and NodeJS in the Workspace container</p>
|
||||||
|
|
||||||
@ -1232,7 +1232,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Yarn"></a></p>
|
<a name="Install-Yarn"></a></p>
|
||||||
|
|
||||||
<h2 id="install-node-yarn:d680e8a854a7cbad6d490c445cba2eba">Install Node + YARN</h2>
|
<h2 id="install-node-yarn">Install Node + YARN</h2>
|
||||||
|
|
||||||
<p>Yarn is a new package manager for JavaScript. It is so faster than npm, which you can find <a href="http://yarnpkg.com/en/compare">here</a>.To install NodeJS and <a href="https://yarnpkg.com/">Yarn</a> in the Workspace container:</p>
|
<p>Yarn is a new package manager for JavaScript. It is so faster than npm, which you can find <a href="http://yarnpkg.com/en/compare">here</a>.To install NodeJS and <a href="https://yarnpkg.com/">Yarn</a> in the Workspace container:</p>
|
||||||
|
|
||||||
@ -1256,7 +1256,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Linuxbrew"></a></p>
|
<a name="Install-Linuxbrew"></a></p>
|
||||||
|
|
||||||
<h2 id="install-linuxbrew:d680e8a854a7cbad6d490c445cba2eba">Install Linuxbrew</h2>
|
<h2 id="install-linuxbrew">Install Linuxbrew</h2>
|
||||||
|
|
||||||
<p>Linuxbrew is a package manager for Linux. It is the Linux version of MacOS Homebrew and can be found <a href="http://linuxbrew.sh">here</a>. To install Linuxbrew in the Workspace container:</p>
|
<p>Linuxbrew is a package manager for Linux. It is the Linux version of MacOS Homebrew and can be found <a href="http://linuxbrew.sh">here</a>. To install Linuxbrew in the Workspace container:</p>
|
||||||
|
|
||||||
@ -1280,7 +1280,7 @@ port=1234
|
|||||||
<a name="Common-Aliases"></a>
|
<a name="Common-Aliases"></a>
|
||||||
<br></p>
|
<br></p>
|
||||||
|
|
||||||
<h2 id="common-terminal-aliases:d680e8a854a7cbad6d490c445cba2eba">Common Terminal Aliases</h2>
|
<h2 id="common-terminal-aliases">Common Terminal Aliases</h2>
|
||||||
|
|
||||||
<p>When you start your docker container, LaraDock will copy the <code>aliases.sh</code> file located in the <code>laradock/workspace</code> directory and add sourcing to the container <code>~/.bashrc</code> file.</p>
|
<p>When you start your docker container, LaraDock will copy the <code>aliases.sh</code> file located in the <code>laradock/workspace</code> directory and add sourcing to the container <code>~/.bashrc</code> file.</p>
|
||||||
|
|
||||||
@ -1289,7 +1289,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Aerospike-Extension"></a></p>
|
<a name="Install-Aerospike-Extension"></a></p>
|
||||||
|
|
||||||
<h2 id="install-aerospike-extension:d680e8a854a7cbad6d490c445cba2eba">Install Aerospike extension</h2>
|
<h2 id="install-aerospike-extension">Install Aerospike extension</h2>
|
||||||
|
|
||||||
<p>1 - First install <code>aerospike</code> in the Workspace and the PHP-FPM Containers:
|
<p>1 - First install <code>aerospike</code> in the Workspace and the PHP-FPM Containers:
|
||||||
<br>
|
<br>
|
||||||
@ -1324,7 +1324,7 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Laravel-Envoy"></a></p>
|
<a name="Install-Laravel-Envoy"></a></p>
|
||||||
|
|
||||||
<h2 id="install-laravel-envoy-envoy-task-runner:d680e8a854a7cbad6d490c445cba2eba">Install Laravel Envoy (Envoy Task Runner)</h2>
|
<h2 id="install-laravel-envoy-envoy-task-runner">Install Laravel Envoy (Envoy Task Runner)</h2>
|
||||||
|
|
||||||
<p>1 - Open the <code>docker-compose.yml</code> file
|
<p>1 - Open the <code>docker-compose.yml</code> file
|
||||||
<br>
|
<br>
|
||||||
@ -1345,21 +1345,21 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
||||||
|
|
||||||
<h4 id="laravel-envoy-documentation-here-https-laravel-com-docs-5-3-envoy:d680e8a854a7cbad6d490c445cba2eba"><a href="https://laravel.com/docs/5.3/envoy">Laravel Envoy Documentation Here</a></h4>
|
<h4 id="laravel-envoy-documentation-here-https-laravel-com-docs-5-3-envoy"><a href="https://laravel.com/docs/5.3/envoy">Laravel Envoy Documentation Here</a></h4>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="phpstorm-debugging"></a></p>
|
<a name="phpstorm-debugging"></a></p>
|
||||||
|
|
||||||
<h2 id="phpstorm-debugging-guide:d680e8a854a7cbad6d490c445cba2eba">PHPStorm Debugging Guide</h2>
|
<h2 id="phpstorm-debugging-guide">PHPStorm Debugging Guide</h2>
|
||||||
|
|
||||||
<p>Remote debug Laravel web and phpunit tests.</p>
|
<p>Remote debug Laravel web and phpunit tests.</p>
|
||||||
|
|
||||||
<h4 id="debugging-guide-here-https-github-com-laradock-laradock-blob-master-guides-phpstorm-md:d680e8a854a7cbad6d490c445cba2eba"><a href="https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md">Debugging Guide Here</a></h4>
|
<h4 id="debugging-guide-here-https-github-com-laradock-laradock-blob-master-guides-phpstorm-md"><a href="https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md">Debugging Guide Here</a></h4>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="keep-tracking-LaraDock"></a></p>
|
<a name="keep-tracking-LaraDock"></a></p>
|
||||||
|
|
||||||
<h2 id="keep-track-of-your-laradock-changes:d680e8a854a7cbad6d490c445cba2eba">Keep track of your LaraDock changes</h2>
|
<h2 id="keep-track-of-your-laradock-changes">Keep track of your LaraDock changes</h2>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Fork the LaraDock repository.</li>
|
<li>Fork the LaraDock repository.</li>
|
||||||
@ -1371,7 +1371,7 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="upgrading-laradock"></a></p>
|
<a name="upgrading-laradock"></a></p>
|
||||||
|
|
||||||
<h2 id="upgrading-laradock:d680e8a854a7cbad6d490c445cba2eba">Upgrading LaraDock</h2>
|
<h2 id="upgrading-laradock">Upgrading LaraDock</h2>
|
||||||
|
|
||||||
<p>Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requires upgrading LaraDock from v3.* to v4.*:</p>
|
<p>Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requires upgrading LaraDock from v3.* to v4.*:</p>
|
||||||
|
|
||||||
@ -1384,12 +1384,12 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p><strong>Note:</strong> If you face any problem with the last step above: rebuild all your containers
|
<p><strong>Note:</strong> If you face any problem with the last step above: rebuild all your containers
|
||||||
<code>docker-compose build --no-cache</code>
|
<code>docker-compose build --no-cache</code>
|
||||||
"Warning Containers Data might be lost!"</p>
|
“Warning Containers Data might be lost!”</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Speed-MacOS"></a></p>
|
<a name="Speed-MacOS"></a></p>
|
||||||
|
|
||||||
<h2 id="improve-speed-on-macos:d680e8a854a7cbad6d490c445cba2eba">Improve speed on MacOS</h2>
|
<h2 id="improve-speed-on-macos">Improve speed on MacOS</h2>
|
||||||
|
|
||||||
<p>Sharing code into Docker containers with osxfs have very poor performance compared to Linux. You can get around this issue by using NFS to share your files betwen your host and your container.</p>
|
<p>Sharing code into Docker containers with osxfs have very poor performance compared to Linux. You can get around this issue by using NFS to share your files betwen your host and your container.</p>
|
||||||
|
|
||||||
@ -1424,7 +1424,7 @@ e) set it to <code>true</code></p>
|
|||||||
<pre><code class="language-bash">~/d4m-nfs/d4m-nfs.sh
|
<pre><code class="language-bash">~/d4m-nfs/d4m-nfs.sh
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>That's it! Run your containers.. Example:</p>
|
<p>That’s it! Run your containers.. Example:</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -1434,13 +1434,13 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Common-Problems"></a></p>
|
<a name="Common-Problems"></a></p>
|
||||||
|
|
||||||
<h2 id="common-problems:d680e8a854a7cbad6d490c445cba2eba">Common Problems</h2>
|
<h2 id="common-problems">Common Problems</h2>
|
||||||
|
|
||||||
<p><em>Here's a list of the common problems you might face, and the possible solutions.</em></p>
|
<p><em>Here’s a list of the common problems you might face, and the possible solutions.</em></p>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page:d680e8a854a7cbad6d490c445cba2eba">I see a blank (white) page instead of the Laravel 'Welcome' page!</h3>
|
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel ‘Welcome’ page!</h3>
|
||||||
|
|
||||||
<p>Run the following command from the Laravel root directory:</p>
|
<p>Run the following command from the Laravel root directory:</p>
|
||||||
|
|
||||||
@ -1449,19 +1449,19 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app:d680e8a854a7cbad6d490c445cba2eba">I see "Welcome to nginx" instead of the Laravel App!</h3>
|
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see “Welcome to nginx” instead of the Laravel App!</h3>
|
||||||
|
|
||||||
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
|
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated:d680e8a854a7cbad6d490c445cba2eba">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
|
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
|
||||||
|
|
||||||
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
|
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-get-nginx-error-404-not-found-on-windows:d680e8a854a7cbad6d490c445cba2eba">I get NGINX error 404 Not Found on Windows.</h3>
|
<h3 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Go to docker Settings on your Windows machine.</li>
|
<li>Go to docker Settings on your Windows machine.</li>
|
||||||
@ -1472,18 +1472,18 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="the-time-in-my-services-does-not-match-the-current-time:d680e8a854a7cbad6d490c445cba2eba">The time in my services does not match the current time</h3>
|
<h3 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Make sure you've <a href="#Change-the-timezone">changed the timezone</a>.</li>
|
<li>Make sure you’ve <a href="#Change-the-timezone">changed the timezone</a>.</li>
|
||||||
<li>Stop and rebuild the containers (<code>docker-compose up -d --build <services></code>)</li>
|
<li>Stop and rebuild the containers (<code>docker-compose up -d --build <services></code>)</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-get-mysql-connection-refused:d680e8a854a7cbad6d490c445cba2eba">I get MySQL connection refused</h3>
|
<h3 id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
|
||||||
|
|
||||||
<p>This error sometimes happens because your Laravel application isn't running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
|
<p>This error sometimes happens because your Laravel application isn’t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Option A
|
<li>Option A
|
||||||
@ -1514,7 +1514,7 @@ e) set it to <code>true</code></p>
|
|||||||
<nav class="pagination" aria-label="Footer">
|
<nav class="pagination" aria-label="Footer">
|
||||||
<div class="previous">
|
<div class="previous">
|
||||||
|
|
||||||
<a href="http://laradock.io/getting-started/" title="Getting started">
|
<a href="http://laradock.io/getting-started/" title="Getting Started">
|
||||||
<span class="direction">
|
<span class="direction">
|
||||||
Previous
|
Previous
|
||||||
</span>
|
</span>
|
||||||
@ -1524,7 +1524,7 @@ e) set it to <code>true</code></p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="stretch">
|
<div class="stretch">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
Getting started
|
Getting Started
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<p><a name="List-current-running-Containers"></a></p>
|
<p><a name="List-current-running-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="list-current-running-containers:d680e8a854a7cbad6d490c445cba2eba">List current running Containers</h2>
|
<h2 id="list-current-running-containers">List current running Containers</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker ps
|
<pre><code class="language-bash">docker ps
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Close-all-running-Containers"></a></p>
|
<a name="Close-all-running-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="close-all-running-containers:d680e8a854a7cbad6d490c445cba2eba">Close all running Containers</h2>
|
<h2 id="close-all-running-containers">Close all running Containers</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose stop
|
<pre><code class="language-bash">docker-compose stop
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Delete-all-existing-Containers"></a></p>
|
<a name="Delete-all-existing-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="delete-all-existing-containers:d680e8a854a7cbad6d490c445cba2eba">Delete all existing Containers</h2>
|
<h2 id="delete-all-existing-containers">Delete all existing Containers</h2>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose down
|
<pre><code class="language-bash">docker-compose down
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Enter-Container"></a></p>
|
<a name="Enter-Container"></a></p>
|
||||||
|
|
||||||
<h2 id="enter-a-container-run-commands-in-a-running-container:d680e8a854a7cbad6d490c445cba2eba">Enter a Container (run commands in a running Container)</h2>
|
<h2 id="enter-a-container-run-commands-in-a-running-container">Enter a Container (run commands in a running Container)</h2>
|
||||||
|
|
||||||
<p>1 - First list the current running containers with <code>docker ps</code></p>
|
<p>1 - First list the current running containers with <code>docker ps</code></p>
|
||||||
|
|
||||||
@ -78,7 +78,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Edit-Container"></a></p>
|
<a name="Edit-Container"></a></p>
|
||||||
|
|
||||||
<h2 id="edit-default-container-configuration:d680e8a854a7cbad6d490c445cba2eba">Edit default container configuration</h2>
|
<h2 id="edit-default-container-configuration">Edit default container configuration</h2>
|
||||||
|
|
||||||
<p>Open the <code>docker-compose.yml</code> and change anything you want.</p>
|
<p>Open the <code>docker-compose.yml</code> and change anything you want.</p>
|
||||||
|
|
||||||
@ -101,7 +101,7 @@
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Edit-a-Docker-Image"></a></p>
|
<a name="Edit-a-Docker-Image"></a></p>
|
||||||
|
|
||||||
<h2 id="edit-a-docker-image:d680e8a854a7cbad6d490c445cba2eba">Edit a Docker Image</h2>
|
<h2 id="edit-a-docker-image">Edit a Docker Image</h2>
|
||||||
|
|
||||||
<p>1 - Find the <code>Dockerfile</code> of the image you want to edit,
|
<p>1 - Find the <code>Dockerfile</code> of the image you want to edit,
|
||||||
<br>
|
<br>
|
||||||
@ -119,7 +119,7 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Build-Re-build-Containers"></a></p>
|
<a name="Build-Re-build-Containers"></a></p>
|
||||||
|
|
||||||
<h2 id="build-re-build-containers:d680e8a854a7cbad6d490c445cba2eba">Build/Re-build Containers</h2>
|
<h2 id="build-re-build-containers">Build/Re-build Containers</h2>
|
||||||
|
|
||||||
<p>If you do any change to any <code>Dockerfile</code> make sure you run this command, for the changes to take effect:</p>
|
<p>If you do any change to any <code>Dockerfile</code> make sure you run this command, for the changes to take effect:</p>
|
||||||
|
|
||||||
@ -136,18 +136,18 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Add-Docker-Images"></a></p>
|
<a name="Add-Docker-Images"></a></p>
|
||||||
|
|
||||||
<h2 id="add-more-software-docker-images:d680e8a854a7cbad6d490c445cba2eba">Add more Software (Docker Images)</h2>
|
<h2 id="add-more-software-docker-images">Add more Software (Docker Images)</h2>
|
||||||
|
|
||||||
<p>To add an image (software), just edit the <code>docker-compose.yml</code> and add your container details, to do so you need to be familiar with the <a href="https://docs.docker.com/compose/compose-file/">docker compose file syntax</a>.</p>
|
<p>To add an image (software), just edit the <code>docker-compose.yml</code> and add your container details, to do so you need to be familiar with the <a href="https://docs.docker.com/compose/compose-file/">docker compose file syntax</a>.</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="View-the-Log-files"></a></p>
|
<a name="View-the-Log-files"></a></p>
|
||||||
|
|
||||||
<h2 id="view-the-log-files:d680e8a854a7cbad6d490c445cba2eba">View the Log files</h2>
|
<h2 id="view-the-log-files">View the Log files</h2>
|
||||||
|
|
||||||
<p>The NGINX Log file is stored in the <code>logs/nginx</code> directory.</p>
|
<p>The NGINX Log file is stored in the <code>logs/nginx</code> directory.</p>
|
||||||
|
|
||||||
<p>However to view the logs of all the other containers (MySQL, PHP-FPM,...) you can run this:</p>
|
<p>However to view the logs of all the other containers (MySQL, PHP-FPM,&hellip;) you can run this:</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker logs {container-name}
|
<pre><code class="language-bash">docker logs {container-name}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -157,7 +157,7 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
|
|||||||
|
|
||||||
<p><a name="Install-PHP-Extensions"></a></p>
|
<p><a name="Install-PHP-Extensions"></a></p>
|
||||||
|
|
||||||
<h2 id="install-php-extensions:d680e8a854a7cbad6d490c445cba2eba">Install PHP Extensions</h2>
|
<h2 id="install-php-extensions">Install PHP Extensions</h2>
|
||||||
|
|
||||||
<p>Before installing PHP extensions, you have to decide whether you need for the <code>FPM</code> or <code>CLI</code> because each lives on a different container, if you need it for both you have to edit both containers.</p>
|
<p>Before installing PHP extensions, you have to decide whether you need for the <code>FPM</code> or <code>CLI</code> because each lives on a different container, if you need it for both you have to edit both containers.</p>
|
||||||
|
|
||||||
@ -168,15 +168,15 @@ The PHP-CLI extensions should be installed in <code>workspace/Dockerfile&l
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-the-PHP-FPM-Version"></a></p>
|
<a name="Change-the-PHP-FPM-Version"></a></p>
|
||||||
|
|
||||||
<h2 id="change-the-php-fpm-version:d680e8a854a7cbad6d490c445cba2eba">Change the (PHP-FPM) Version</h2>
|
<h2 id="change-the-php-fpm-version">Change the (PHP-FPM) Version</h2>
|
||||||
|
|
||||||
<p>By default <strong>PHP-FPM 7.0</strong> is running.</p>
|
<p>By default <strong>PHP-FPM 7.0</strong> is running.</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>The PHP-FPM is responsible of serving your application code, you don't have to change the PHP-CLI version if you are planning to run your application on different PHP-FPM version.</p>
|
<p>The PHP-FPM is responsible of serving your application code, you don&rsquo;t have to change the PHP-CLI version if you are planning to run your application on different PHP-FPM version.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h3 id="a-switch-from-php-7-0-to-php-5-6:d680e8a854a7cbad6d490c445cba2eba">A) Switch from PHP <code>7.0</code> to PHP <code>5.6</code></h3>
|
<h3 id="a-switch-from-php-7-0-to-php-5-6">A) Switch from PHP <code>7.0</code> to PHP <code>5.6</code></h3>
|
||||||
|
|
||||||
<p>1 - Open the <code>docker-compose.yml</code>.</p>
|
<p>1 - Open the <code>docker-compose.yml</code>.</p>
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ The PHP-CLI extensions should be installed in <code>workspace/Dockerfile&l
|
|||||||
<p>For more details about the PHP base image, visit the <a href="https://hub.docker.com/_/php/">official PHP docker images</a>.</p>
|
<p>For more details about the PHP base image, visit the <a href="https://hub.docker.com/_/php/">official PHP docker images</a>.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<h3 id="b-switch-from-php-7-0-or-5-6-to-php-5-5:d680e8a854a7cbad6d490c445cba2eba">B) Switch from PHP <code>7.0</code> or <code>5.6</code> to PHP <code>5.5</code></h3>
|
<h3 id="b-switch-from-php-7-0-or-5-6-to-php-5-5">B) Switch from PHP <code>7.0</code> or <code>5.6</code> to PHP <code>5.5</code></h3>
|
||||||
|
|
||||||
<p>We do not natively support PHP 5.5 anymore, but you can get it in few steps:</p>
|
<p>We do not natively support PHP 5.5 anymore, but you can get it in few steps:</p>
|
||||||
|
|
||||||
@ -219,22 +219,22 @@ The PHP-CLI extensions should be installed in <code>workspace/Dockerfile&l
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-the-PHP-CLI-Version"></a></p>
|
<a name="Change-the-PHP-CLI-Version"></a></p>
|
||||||
|
|
||||||
<h2 id="change-the-php-cli-version:d680e8a854a7cbad6d490c445cba2eba">Change the PHP-CLI Version</h2>
|
<h2 id="change-the-php-cli-version">Change the PHP-CLI Version</h2>
|
||||||
|
|
||||||
<p>By default <strong>PHP-CLI 7.0</strong> is running.</p>
|
<p>By default <strong>PHP-CLI 7.0</strong> is running.</p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Note: it's not very essential to edit the PHP-CLI version. The PHP-CLI is only used for the Artisan Commands &amp; Composer. It doesn't serve your Application code, this is the PHP-FPM job.</p>
|
<p>Note: it&rsquo;s not very essential to edit the PHP-CLI version. The PHP-CLI is only used for the Artisan Commands &amp; Composer. It doesn&rsquo;t serve your Application code, this is the PHP-FPM job.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<p>The PHP-CLI is installed in the Workspace container. To change the PHP-CLI version you need to edit the <code>workspace/Dockerfile</code>.</p>
|
<p>The PHP-CLI is installed in the Workspace container. To change the PHP-CLI version you need to edit the <code>workspace/Dockerfile</code>.</p>
|
||||||
|
|
||||||
<p>Right now you have to manually edit the <code>Dockerfile</code> or create a new one like it's done for the PHP-FPM. (consider contributing).</p>
|
<p>Right now you have to manually edit the <code>Dockerfile</code> or create a new one like it&rsquo;s done for the PHP-FPM. (consider contributing).</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-xDebug"></a></p>
|
<a name="Install-xDebug"></a></p>
|
||||||
|
|
||||||
<h2 id="install-xdebug:d680e8a854a7cbad6d490c445cba2eba">Install xDebug</h2>
|
<h2 id="install-xdebug">Install xDebug</h2>
|
||||||
|
|
||||||
<p>1 - First install <code>xDebug</code> in the Workspace and the PHP-FPM Containers:
|
<p>1 - First install <code>xDebug</code> in the Workspace and the PHP-FPM Containers:
|
||||||
<br>
|
<br>
|
||||||
@ -278,7 +278,7 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Control-xDebug"></a></p>
|
<a name="Control-xDebug"></a></p>
|
||||||
|
|
||||||
<h2 id="start-stop-xdebug:d680e8a854a7cbad6d490c445cba2eba">Start/Stop xDebug:</h2>
|
<h2 id="start-stop-xdebug">Start/Stop xDebug:</h2>
|
||||||
|
|
||||||
<p>By installing xDebug, you are enabling it to run on startup by default.</p>
|
<p>By installing xDebug, you are enabling it to run on startup by default.</p>
|
||||||
|
|
||||||
@ -290,12 +290,12 @@ xdebug.remote_connect_back=1
|
|||||||
<li>See the status: <code>./xdebugPhpFpm status</code>.</li>
|
<li>See the status: <code>./xdebugPhpFpm status</code>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>Note: If <code>./xdebugPhpFpm</code> doesn't execute and gives <code>Permission Denied</code> error the problem can be that file <code>xdebugPhpFpm</code> doesn't have execution access. This can be fixed by running <code>chmod</code> command with desired access permissions.</p>
|
<p>Note: If <code>./xdebugPhpFpm</code> doesn&rsquo;t execute and gives <code>Permission Denied</code> error the problem can be that file <code>xdebugPhpFpm</code> doesn&rsquo;t have execution access. This can be fixed by running <code>chmod</code> command with desired access permissions.</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Deployer"></a></p>
|
<a name="Install-Deployer"></a></p>
|
||||||
|
|
||||||
<h2 id="install-deployer-deployment-tool-for-php:d680e8a854a7cbad6d490c445cba2eba">Install Deployer (Deployment tool for PHP)</h2>
|
<h2 id="install-deployer-deployment-tool-for-php">Install Deployer (Deployment tool for PHP)</h2>
|
||||||
|
|
||||||
<p>1 - Open the <code>docker-compose.yml</code> file
|
<p>1 - Open the <code>docker-compose.yml</code> file
|
||||||
<br>
|
<br>
|
||||||
@ -316,7 +316,7 @@ xdebug.remote_connect_back=1
|
|||||||
|
|
||||||
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
||||||
|
|
||||||
<h4 id="deployer-documentation-here-https-deployer-org-docs:d680e8a854a7cbad6d490c445cba2eba"><a href="https://deployer.org/docs">Deployer Documentation Here</a></h4>
|
<h4 id="deployer-documentation-here-https-deployer-org-docs"><a href="https://deployer.org/docs">Deployer Documentation Here</a></h4>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Production"></a></p>
|
<a name="Production"></a></p>
|
||||||
@ -324,11 +324,11 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="LaraDock-for-Production"></a></p>
|
<a name="LaraDock-for-Production"></a></p>
|
||||||
|
|
||||||
<h2 id="prepare-laradock-for-production:d680e8a854a7cbad6d490c445cba2eba">Prepare LaraDock for Production</h2>
|
<h2 id="prepare-laradock-for-production">Prepare LaraDock for Production</h2>
|
||||||
|
|
||||||
<p>It's recommended for production to create a custom <code>docker-compose.yml</code> file. For that reason, LaraDock is shipped with <code>production-docker-compose.yml</code> which should contain only the containers you are planning to run on production (usage example: <code>docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...</code>).</p>
|
<p>It&rsquo;s recommended for production to create a custom <code>docker-compose.yml</code> file. For that reason, LaraDock is shipped with <code>production-docker-compose.yml</code> which should contain only the containers you are planning to run on production (usage example: <code>docker-compose -f production-docker-compose.yml up -d nginx mysql redis ...</code>).</p>
|
||||||
|
|
||||||
<p>Note: The Database (MySQL/MariaDB/...) ports should not be forwarded on production, because Docker will automatically publish the port on the host, which is quite insecure, unless specifically told not to. So make sure to remove these lines:</p>
|
<p>Note: The Database (MySQL/MariaDB/&hellip;) ports should not be forwarded on production, because Docker will automatically publish the port on the host, which is quite insecure, unless specifically told not to. So make sure to remove these lines:</p>
|
||||||
|
|
||||||
<pre><code>ports:
|
<pre><code>ports:
|
||||||
- &quot;3306:3306&quot;
|
- &quot;3306:3306&quot;
|
||||||
@ -339,16 +339,16 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Digital-Ocean"></a></p>
|
<a name="Digital-Ocean"></a></p>
|
||||||
|
|
||||||
<h2 id="setup-laravel-and-docker-on-digital-ocean:d680e8a854a7cbad6d490c445cba2eba">Setup Laravel and Docker on Digital Ocean</h2>
|
<h2 id="setup-laravel-and-docker-on-digital-ocean">Setup Laravel and Docker on Digital Ocean</h2>
|
||||||
|
|
||||||
<h3 id="full-guide-here-https-github-com-laradock-laradock-blob-master-guides-digital-ocean-md:d680e8a854a7cbad6d490c445cba2eba"><a href="https://github.com/laradock/laradock/blob/master/_guides/digital_ocean.md">Full Guide Here</a></h3>
|
<h3 id="full-guide-here-https-github-com-laradock-laradock-blob-master-guides-digital-ocean-md"><a href="https://github.com/laradock/laradock/blob/master/_guides/digital_ocean.md">Full Guide Here</a></h3>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Laravel"></a></p>
|
<a name="Laravel"></a></p>
|
||||||
|
|
||||||
<p><a name="Install-Laravel"></a></p>
|
<p><a name="Install-Laravel"></a></p>
|
||||||
|
|
||||||
<h2 id="install-laravel-from-a-docker-container:d680e8a854a7cbad6d490c445cba2eba">Install Laravel from a Docker Container</h2>
|
<h2 id="install-laravel-from-a-docker-container">Install Laravel from a Docker Container</h2>
|
||||||
|
|
||||||
<p>1 - First you need to enter the Workspace Container.</p>
|
<p>1 - First you need to enter the Workspace Container.</p>
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Run-Artisan-Commands"></a></p>
|
<a name="Run-Artisan-Commands"></a></p>
|
||||||
|
|
||||||
<h2 id="run-artisan-commands:d680e8a854a7cbad6d490c445cba2eba">Run Artisan Commands</h2>
|
<h2 id="run-artisan-commands">Run Artisan Commands</h2>
|
||||||
|
|
||||||
<p>You can run artisan commands and many other Terminal commands from the Workspace container.</p>
|
<p>You can run artisan commands and many other Terminal commands from the Workspace container.</p>
|
||||||
|
|
||||||
@ -407,7 +407,7 @@ xdebug.remote_connect_back=1
|
|||||||
<pre><code class="language-bash">docker-compose exec workspace bash
|
<pre><code class="language-bash">docker-compose exec workspace bash
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host's user.</p>
|
<p>Add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host&rsquo;s user.</p>
|
||||||
|
|
||||||
<p>4 - Run anything you want :)</p>
|
<p>4 - Run anything you want :)</p>
|
||||||
|
|
||||||
@ -423,7 +423,7 @@ xdebug.remote_connect_back=1
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Run-Laravel-Queue-Worker"></a></p>
|
<a name="Run-Laravel-Queue-Worker"></a></p>
|
||||||
|
|
||||||
<h2 id="run-laravel-queue-worker:d680e8a854a7cbad6d490c445cba2eba">Run Laravel Queue Worker</h2>
|
<h2 id="run-laravel-queue-worker">Run Laravel Queue Worker</h2>
|
||||||
|
|
||||||
<p>1 - First add <code>php-worker</code> container. It will be similar as like PHP-FPM Container.
|
<p>1 - First add <code>php-worker</code> container. It will be similar as like PHP-FPM Container.
|
||||||
<br>
|
<br>
|
||||||
@ -448,19 +448,19 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Redis"></a></p>
|
<a name="Use-Redis"></a></p>
|
||||||
|
|
||||||
<h2 id="use-redis:d680e8a854a7cbad6d490c445cba2eba">Use Redis</h2>
|
<h2 id="use-redis">Use Redis</h2>
|
||||||
|
|
||||||
<p>1 - First make sure you run the Redis Container (<code>redis</code>) with the <code>docker-compose up</code> command.</p>
|
<p>1 - First make sure you run the Redis Container (<code>redis</code>) with the <code>docker-compose up</code> command.</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose up -d redis
|
<pre><code class="language-bash">docker-compose up -d redis
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>2 - Open your Laravel's <code>.env</code> file and set the <code>REDIS_HOST</code> to <code>redis</code></p>
|
<p>2 - Open your Laravel&rsquo;s <code>.env</code> file and set the <code>REDIS_HOST</code> to <code>redis</code></p>
|
||||||
|
|
||||||
<pre><code class="language-env">REDIS_HOST=redis
|
<pre><code class="language-env">REDIS_HOST=redis
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>If you don't find the <code>REDIS_HOST</code> variable in your <code>.env</code> file. Go to the database configuration file <code>config/database.php</code> and replace the default <code>127.0.0.1</code> IP with <code>redis</code> for Redis like this:</p>
|
<p>If you don&rsquo;t find the <code>REDIS_HOST</code> variable in your <code>.env</code> file. Go to the database configuration file <code>config/database.php</code> and replace the default <code>127.0.0.1</code> IP with <code>redis</code> for Redis like this:</p>
|
||||||
|
|
||||||
<pre><code class="language-php">'redis' =&gt; [
|
<pre><code class="language-php">'redis' =&gt; [
|
||||||
'cluster' =&gt; false,
|
'cluster' =&gt; false,
|
||||||
@ -491,7 +491,7 @@ SESSION_DRIVER=redis
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Mongo"></a></p>
|
<a name="Use-Mongo"></a></p>
|
||||||
|
|
||||||
<h2 id="use-mongo:d680e8a854a7cbad6d490c445cba2eba">Use Mongo</h2>
|
<h2 id="use-mongo">Use Mongo</h2>
|
||||||
|
|
||||||
<p>1 - First install <code>mongo</code> in the Workspace and the PHP-FPM Containers:
|
<p>1 - First install <code>mongo</code> in the Workspace and the PHP-FPM Containers:
|
||||||
<br>
|
<br>
|
||||||
@ -549,7 +549,7 @@ e) set it to <code>true</code></p>
|
|||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>5 - Open your Laravel's <code>.env</code> file and update the following variables:</p>
|
<p>5 - Open your Laravel&rsquo;s <code>.env</code> file and update the following variables:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>set the <code>DB_HOST</code> to your <code>mongo</code>.</li>
|
<li>set the <code>DB_HOST</code> to your <code>mongo</code>.</li>
|
||||||
@ -575,7 +575,7 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-phpMyAdmin"></a></p>
|
<a name="Use-phpMyAdmin"></a></p>
|
||||||
|
|
||||||
<h2 id="use-phpmyadmin:d680e8a854a7cbad6d490c445cba2eba">Use PhpMyAdmin</h2>
|
<h2 id="use-phpmyadmin">Use PhpMyAdmin</h2>
|
||||||
|
|
||||||
<p>1 - Run the phpMyAdmin Container (<code>phpmyadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
<p>1 - Run the phpMyAdmin Container (<code>phpmyadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
||||||
|
|
||||||
@ -591,7 +591,7 @@ docker-compose up -d mariadb phpmyadmin
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-pgAdmin"></a></p>
|
<a name="Use-pgAdmin"></a></p>
|
||||||
|
|
||||||
<h2 id="use-pgadmin:d680e8a854a7cbad6d490c445cba2eba">Use PgAdmin</h2>
|
<h2 id="use-pgadmin">Use PgAdmin</h2>
|
||||||
|
|
||||||
<p>1 - Run the pgAdmin Container (<code>pgadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
<p>1 - Run the pgAdmin Container (<code>pgadmin</code>) with the <code>docker-compose up</code> command. Example:</p>
|
||||||
|
|
||||||
@ -603,7 +603,7 @@ docker-compose up -d mariadb phpmyadmin
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Beanstalkd"></a></p>
|
<a name="Use-Beanstalkd"></a></p>
|
||||||
|
|
||||||
<h2 id="use-beanstalkd:d680e8a854a7cbad6d490c445cba2eba">Use Beanstalkd</h2>
|
<h2 id="use-beanstalkd">Use Beanstalkd</h2>
|
||||||
|
|
||||||
<p>1 - Run the Beanstalkd Container:</p>
|
<p>1 - Run the Beanstalkd Container:</p>
|
||||||
|
|
||||||
@ -640,7 +640,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-ElasticSearch"></a></p>
|
<a name="Use-ElasticSearch"></a></p>
|
||||||
|
|
||||||
<h2 id="use-elasticsearch:d680e8a854a7cbad6d490c445cba2eba">Use ElasticSearch</h2>
|
<h2 id="use-elasticsearch">Use ElasticSearch</h2>
|
||||||
|
|
||||||
<p>1 - Run the ElasticSearch Container (<code>elasticsearch</code>) with the <code>docker-compose up</code> command:</p>
|
<p>1 - Run the ElasticSearch Container (<code>elasticsearch</code>) with the <code>docker-compose up</code> command:</p>
|
||||||
|
|
||||||
@ -649,7 +649,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code
|
|||||||
|
|
||||||
<p>2 - Open your browser and visit the localhost on port <strong>9200</strong>: <code>http://localhost:9200</code></p>
|
<p>2 - Open your browser and visit the localhost on port <strong>9200</strong>: <code>http://localhost:9200</code></p>
|
||||||
|
|
||||||
<h3 id="install-elasticsearch-plugin:d680e8a854a7cbad6d490c445cba2eba">Install ElasticSearch Plugin</h3>
|
<h3 id="install-elasticsearch-plugin">Install ElasticSearch Plugin</h3>
|
||||||
|
|
||||||
<p>1 - Install the ElasticSearch plugin like <a href="https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html">delete-by-query</a>.</p>
|
<p>1 - Install the ElasticSearch plugin like <a href="https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html">delete-by-query</a>.</p>
|
||||||
|
|
||||||
@ -664,7 +664,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-Selenium"></a></p>
|
<a name="Use-Selenium"></a></p>
|
||||||
|
|
||||||
<h2 id="use-selenium:d680e8a854a7cbad6d490c445cba2eba">Use Selenium</h2>
|
<h2 id="use-selenium">Use Selenium</h2>
|
||||||
|
|
||||||
<p>1 - Run the Selenium Container (<code>selenium</code>) with the <code>docker-compose up</code> command. Example:</p>
|
<p>1 - Run the Selenium Container (<code>selenium</code>) with the <code>docker-compose up</code> command. Example:</p>
|
||||||
|
|
||||||
@ -676,7 +676,7 @@ b. set the queue host to beanstalkd : <code>QUEUE_HOST=beanstalkd</code
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-RethinkDB"></a></p>
|
<a name="Use-RethinkDB"></a></p>
|
||||||
|
|
||||||
<h2 id="use-rethinkdb:d680e8a854a7cbad6d490c445cba2eba">Use RethinkDB</h2>
|
<h2 id="use-rethinkdb">Use RethinkDB</h2>
|
||||||
|
|
||||||
<p>The RethinkDB is an open-source Database for Real-time Web (<a href="https://rethinkdb.com/">RethinkDB</a>).
|
<p>The RethinkDB is an open-source Database for Real-time Web (<a href="https://rethinkdb.com/">RethinkDB</a>).
|
||||||
A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkDB</a>) is being developed and was released a version for Laravel 5.2 (experimental).</p>
|
A package (<a href="https://github.com/duxet/laravel-rethinkdb">Laravel RethinkDB</a>) is being developed and was released a version for Laravel 5.2 (experimental).</p>
|
||||||
@ -705,7 +705,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
],
|
],
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>4 - Open your Laravel's <code>.env</code> file and update the following variables:</p>
|
<p>4 - Open your Laravel&rsquo;s <code>.env</code> file and update the following variables:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>set the <code>DB_CONNECTION</code> to your <code>rethinkdb</code>.</li>
|
<li>set the <code>DB_CONNECTION</code> to your <code>rethinkdb</code>.</li>
|
||||||
@ -720,7 +720,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-CodeIgniter"></a></p>
|
<a name="Install-CodeIgniter"></a></p>
|
||||||
|
|
||||||
<h2 id="install-codeigniter:d680e8a854a7cbad6d490c445cba2eba">Install CodeIgniter</h2>
|
<h2 id="install-codeigniter">Install CodeIgniter</h2>
|
||||||
|
|
||||||
<p>To install CodeIgniter 3 on LaraDock all you have to do is the following simple steps:</p>
|
<p>To install CodeIgniter 3 on LaraDock all you have to do is the following simple steps:</p>
|
||||||
|
|
||||||
@ -733,12 +733,12 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Misc"></a></p>
|
<a name="Misc"></a></p>
|
||||||
|
|
||||||
<h2 id="miscellaneous:d680e8a854a7cbad6d490c445cba2eba">Miscellaneous</h2>
|
<h2 id="miscellaneous">Miscellaneous</h2>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-the-timezone"></a></p>
|
<a name="Change-the-timezone"></a></p>
|
||||||
|
|
||||||
<h2 id="change-the-timezone:d680e8a854a7cbad6d490c445cba2eba">Change the timezone</h2>
|
<h2 id="change-the-timezone">Change the timezone</h2>
|
||||||
|
|
||||||
<p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">TZ database</a>.</p>
|
<p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">TZ database</a>.</p>
|
||||||
|
|
||||||
@ -757,7 +757,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="CronJobs"></a></p>
|
<a name="CronJobs"></a></p>
|
||||||
|
|
||||||
<h2 id="adding-cron-jobs:d680e8a854a7cbad6d490c445cba2eba">Adding cron jobs</h2>
|
<h2 id="adding-cron-jobs">Adding cron jobs</h2>
|
||||||
|
|
||||||
<p>You can add your cron jobs to <code>workspace/crontab/root</code> after the <code>php artisan</code> line.</p>
|
<p>You can add your cron jobs to <code>workspace/crontab/root</code> after the <code>php artisan</code> line.</p>
|
||||||
|
|
||||||
@ -767,12 +767,12 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
* * * * * root echo &quot;Every Minute&quot; &gt; /var/log/cron.log 2&gt;&amp;1
|
* * * * * root echo &quot;Every Minute&quot; &gt; /var/log/cron.log 2&gt;&amp;1
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Make sure you <a href="#Change-the-timezone">change the timezone</a> if you don't want to use the default (UTC).</p>
|
<p>Make sure you <a href="#Change-the-timezone">change the timezone</a> if you don&rsquo;t want to use the default (UTC).</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Workspace-ssh"></a></p>
|
<a name="Workspace-ssh"></a></p>
|
||||||
|
|
||||||
<h2 id="access-workspace-via-ssh:d680e8a854a7cbad6d490c445cba2eba">Access workspace via ssh</h2>
|
<h2 id="access-workspace-via-ssh">Access workspace via ssh</h2>
|
||||||
|
|
||||||
<p>You can access the <code>workspace</code> container through <code>localhost:2222</code> by setting the <code>INSTALL_WORKSPACE_SSH</code> build argument to <code>true</code>.</p>
|
<p>You can access the <code>workspace</code> container through <code>localhost:2222</code> by setting the <code>INSTALL_WORKSPACE_SSH</code> build argument to <code>true</code>.</p>
|
||||||
|
|
||||||
@ -787,7 +787,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="MySQL-access-from-host"></a></p>
|
<a name="MySQL-access-from-host"></a></p>
|
||||||
|
|
||||||
<h2 id="mysql-access-from-host:d680e8a854a7cbad6d490c445cba2eba">MySQL access from host</h2>
|
<h2 id="mysql-access-from-host">MySQL access from host</h2>
|
||||||
|
|
||||||
<p>You can forward the MySQL/MariaDB port to your host by making sure these lines are added to the <code>mysql</code> or <code>mariadb</code> section of the <code>docker-compose.yml</code> or in your <a href="https://docs.docker.com/compose/extends/">environment specific Compose</a> file.</p>
|
<p>You can forward the MySQL/MariaDB port to your host by making sure these lines are added to the <code>mysql</code> or <code>mariadb</code> section of the <code>docker-compose.yml</code> or in your <a href="https://docs.docker.com/compose/extends/">environment specific Compose</a> file.</p>
|
||||||
|
|
||||||
@ -798,7 +798,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="MySQL-root-access"></a></p>
|
<a name="MySQL-root-access"></a></p>
|
||||||
|
|
||||||
<h2 id="mysql-root-access:d680e8a854a7cbad6d490c445cba2eba">MySQL root access</h2>
|
<h2 id="mysql-root-access">MySQL root access</h2>
|
||||||
|
|
||||||
<p>The default username and password for the root MySQL user are <code>root</code> and <code>root</code>.</p>
|
<p>The default username and password for the root MySQL user are <code>root</code> and <code>root</code>.</p>
|
||||||
|
|
||||||
@ -813,7 +813,7 @@ A package (<a href="https://github.com/duxet/laravel-rethinkdb">La
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Change-MySQL-port"></a></p>
|
<a name="Change-MySQL-port"></a></p>
|
||||||
|
|
||||||
<h2 id="change-mysql-port:d680e8a854a7cbad6d490c445cba2eba">Change MySQL port</h2>
|
<h2 id="change-mysql-port">Change MySQL port</h2>
|
||||||
|
|
||||||
<p>Modify the <code>mysql/my.cnf</code> file to set your port number, <code>1234</code> is used as an example.</p>
|
<p>Modify the <code>mysql/my.cnf</code> file to set your port number, <code>1234</code> is used as an example.</p>
|
||||||
|
|
||||||
@ -826,7 +826,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Use-custom-Domain"></a></p>
|
<a name="Use-custom-Domain"></a></p>
|
||||||
|
|
||||||
<h2 id="use-custom-domain-instead-of-the-docker-ip:d680e8a854a7cbad6d490c445cba2eba">Use custom Domain (instead of the Docker IP)</h2>
|
<h2 id="use-custom-domain-instead-of-the-docker-ip">Use custom Domain (instead of the Docker IP)</h2>
|
||||||
|
|
||||||
<p>Assuming your custom domain is <code>laravel.dev</code></p>
|
<p>Assuming your custom domain is <code>laravel.dev</code></p>
|
||||||
|
|
||||||
@ -845,7 +845,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Enable-Global-Composer-Build-Install"></a></p>
|
<a name="Enable-Global-Composer-Build-Install"></a></p>
|
||||||
|
|
||||||
<h2 id="enable-global-composer-build-install:d680e8a854a7cbad6d490c445cba2eba">Enable Global Composer Build Install</h2>
|
<h2 id="enable-global-composer-build-install">Enable Global Composer Build Install</h2>
|
||||||
|
|
||||||
<p>Enabling Global Composer Install during the build for the container allows you to get your composer requirements installed and available in the container after the build is done.</p>
|
<p>Enabling Global Composer Install during the build for the container allows you to get your composer requirements installed and available in the container after the build is done.</p>
|
||||||
|
|
||||||
@ -870,7 +870,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Prestissimo"></a></p>
|
<a name="Install-Prestissimo"></a></p>
|
||||||
|
|
||||||
<h2 id="install-prestissimo:d680e8a854a7cbad6d490c445cba2eba">Install Prestissimo</h2>
|
<h2 id="install-prestissimo">Install Prestissimo</h2>
|
||||||
|
|
||||||
<p><a href="https://github.com/hirak/prestissimo">Prestissimo</a> is a plugin for composer which enables parallel install functionality.</p>
|
<p><a href="https://github.com/hirak/prestissimo">Prestissimo</a> is a plugin for composer which enables parallel install functionality.</p>
|
||||||
|
|
||||||
@ -889,7 +889,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Node"></a></p>
|
<a name="Install-Node"></a></p>
|
||||||
|
|
||||||
<h2 id="install-node-nvm:d680e8a854a7cbad6d490c445cba2eba">Install Node + NVM</h2>
|
<h2 id="install-node-nvm">Install Node + NVM</h2>
|
||||||
|
|
||||||
<p>To install NVM and NodeJS in the Workspace container</p>
|
<p>To install NVM and NodeJS in the Workspace container</p>
|
||||||
|
|
||||||
@ -912,7 +912,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Yarn"></a></p>
|
<a name="Install-Yarn"></a></p>
|
||||||
|
|
||||||
<h2 id="install-node-yarn:d680e8a854a7cbad6d490c445cba2eba">Install Node + YARN</h2>
|
<h2 id="install-node-yarn">Install Node + YARN</h2>
|
||||||
|
|
||||||
<p>Yarn is a new package manager for JavaScript. It is so faster than npm, which you can find <a href="http://yarnpkg.com/en/compare">here</a>.To install NodeJS and <a href="https://yarnpkg.com/">Yarn</a> in the Workspace container:</p>
|
<p>Yarn is a new package manager for JavaScript. It is so faster than npm, which you can find <a href="http://yarnpkg.com/en/compare">here</a>.To install NodeJS and <a href="https://yarnpkg.com/">Yarn</a> in the Workspace container:</p>
|
||||||
|
|
||||||
@ -936,7 +936,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Linuxbrew"></a></p>
|
<a name="Install-Linuxbrew"></a></p>
|
||||||
|
|
||||||
<h2 id="install-linuxbrew:d680e8a854a7cbad6d490c445cba2eba">Install Linuxbrew</h2>
|
<h2 id="install-linuxbrew">Install Linuxbrew</h2>
|
||||||
|
|
||||||
<p>Linuxbrew is a package manager for Linux. It is the Linux version of MacOS Homebrew and can be found <a href="http://linuxbrew.sh">here</a>. To install Linuxbrew in the Workspace container:</p>
|
<p>Linuxbrew is a package manager for Linux. It is the Linux version of MacOS Homebrew and can be found <a href="http://linuxbrew.sh">here</a>. To install Linuxbrew in the Workspace container:</p>
|
||||||
|
|
||||||
@ -960,7 +960,7 @@ port=1234
|
|||||||
<a name="Common-Aliases"></a>
|
<a name="Common-Aliases"></a>
|
||||||
<br></p>
|
<br></p>
|
||||||
|
|
||||||
<h2 id="common-terminal-aliases:d680e8a854a7cbad6d490c445cba2eba">Common Terminal Aliases</h2>
|
<h2 id="common-terminal-aliases">Common Terminal Aliases</h2>
|
||||||
|
|
||||||
<p>When you start your docker container, LaraDock will copy the <code>aliases.sh</code> file located in the <code>laradock/workspace</code> directory and add sourcing to the container <code>~/.bashrc</code> file.</p>
|
<p>When you start your docker container, LaraDock will copy the <code>aliases.sh</code> file located in the <code>laradock/workspace</code> directory and add sourcing to the container <code>~/.bashrc</code> file.</p>
|
||||||
|
|
||||||
@ -969,7 +969,7 @@ port=1234
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Aerospike-Extension"></a></p>
|
<a name="Install-Aerospike-Extension"></a></p>
|
||||||
|
|
||||||
<h2 id="install-aerospike-extension:d680e8a854a7cbad6d490c445cba2eba">Install Aerospike extension</h2>
|
<h2 id="install-aerospike-extension">Install Aerospike extension</h2>
|
||||||
|
|
||||||
<p>1 - First install <code>aerospike</code> in the Workspace and the PHP-FPM Containers:
|
<p>1 - First install <code>aerospike</code> in the Workspace and the PHP-FPM Containers:
|
||||||
<br>
|
<br>
|
||||||
@ -1004,7 +1004,7 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Install-Laravel-Envoy"></a></p>
|
<a name="Install-Laravel-Envoy"></a></p>
|
||||||
|
|
||||||
<h2 id="install-laravel-envoy-envoy-task-runner:d680e8a854a7cbad6d490c445cba2eba">Install Laravel Envoy (Envoy Task Runner)</h2>
|
<h2 id="install-laravel-envoy-envoy-task-runner">Install Laravel Envoy (Envoy Task Runner)</h2>
|
||||||
|
|
||||||
<p>1 - Open the <code>docker-compose.yml</code> file
|
<p>1 - Open the <code>docker-compose.yml</code> file
|
||||||
<br>
|
<br>
|
||||||
@ -1025,21 +1025,21 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
|
||||||
|
|
||||||
<h4 id="laravel-envoy-documentation-here-https-laravel-com-docs-5-3-envoy:d680e8a854a7cbad6d490c445cba2eba"><a href="https://laravel.com/docs/5.3/envoy">Laravel Envoy Documentation Here</a></h4>
|
<h4 id="laravel-envoy-documentation-here-https-laravel-com-docs-5-3-envoy"><a href="https://laravel.com/docs/5.3/envoy">Laravel Envoy Documentation Here</a></h4>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="phpstorm-debugging"></a></p>
|
<a name="phpstorm-debugging"></a></p>
|
||||||
|
|
||||||
<h2 id="phpstorm-debugging-guide:d680e8a854a7cbad6d490c445cba2eba">PHPStorm Debugging Guide</h2>
|
<h2 id="phpstorm-debugging-guide">PHPStorm Debugging Guide</h2>
|
||||||
|
|
||||||
<p>Remote debug Laravel web and phpunit tests.</p>
|
<p>Remote debug Laravel web and phpunit tests.</p>
|
||||||
|
|
||||||
<h4 id="debugging-guide-here-https-github-com-laradock-laradock-blob-master-guides-phpstorm-md:d680e8a854a7cbad6d490c445cba2eba"><a href="https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md">Debugging Guide Here</a></h4>
|
<h4 id="debugging-guide-here-https-github-com-laradock-laradock-blob-master-guides-phpstorm-md"><a href="https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md">Debugging Guide Here</a></h4>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="keep-tracking-LaraDock"></a></p>
|
<a name="keep-tracking-LaraDock"></a></p>
|
||||||
|
|
||||||
<h2 id="keep-track-of-your-laradock-changes:d680e8a854a7cbad6d490c445cba2eba">Keep track of your LaraDock changes</h2>
|
<h2 id="keep-track-of-your-laradock-changes">Keep track of your LaraDock changes</h2>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Fork the LaraDock repository.</li>
|
<li>Fork the LaraDock repository.</li>
|
||||||
@ -1051,7 +1051,7 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="upgrading-laradock"></a></p>
|
<a name="upgrading-laradock"></a></p>
|
||||||
|
|
||||||
<h2 id="upgrading-laradock:d680e8a854a7cbad6d490c445cba2eba">Upgrading LaraDock</h2>
|
<h2 id="upgrading-laradock">Upgrading LaraDock</h2>
|
||||||
|
|
||||||
<p>Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requires upgrading LaraDock from v3.* to v4.*:</p>
|
<p>Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requires upgrading LaraDock from v3.* to v4.*:</p>
|
||||||
|
|
||||||
@ -1064,12 +1064,12 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p><strong>Note:</strong> If you face any problem with the last step above: rebuild all your containers
|
<p><strong>Note:</strong> If you face any problem with the last step above: rebuild all your containers
|
||||||
<code>docker-compose build --no-cache</code>
|
<code>docker-compose build --no-cache</code>
|
||||||
&quot;Warning Containers Data might be lost!&quot;</p>
|
&ldquo;Warning Containers Data might be lost!&rdquo;</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="Speed-MacOS"></a></p>
|
<a name="Speed-MacOS"></a></p>
|
||||||
|
|
||||||
<h2 id="improve-speed-on-macos:d680e8a854a7cbad6d490c445cba2eba">Improve speed on MacOS</h2>
|
<h2 id="improve-speed-on-macos">Improve speed on MacOS</h2>
|
||||||
|
|
||||||
<p>Sharing code into Docker containers with osxfs have very poor performance compared to Linux. You can get around this issue by using NFS to share your files betwen your host and your container.</p>
|
<p>Sharing code into Docker containers with osxfs have very poor performance compared to Linux. You can get around this issue by using NFS to share your files betwen your host and your container.</p>
|
||||||
|
|
||||||
@ -1104,7 +1104,7 @@ e) set it to <code>true</code></p>
|
|||||||
<pre><code class="language-bash">~/d4m-nfs/d4m-nfs.sh
|
<pre><code class="language-bash">~/d4m-nfs/d4m-nfs.sh
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>That's it! Run your containers.. Example:</p>
|
<p>That&rsquo;s it! Run your containers.. Example:</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -1114,13 +1114,13 @@ e) set it to <code>true</code></p>
|
|||||||
<p><br>
|
<p><br>
|
||||||
<a name="Common-Problems"></a></p>
|
<a name="Common-Problems"></a></p>
|
||||||
|
|
||||||
<h2 id="common-problems:d680e8a854a7cbad6d490c445cba2eba">Common Problems</h2>
|
<h2 id="common-problems">Common Problems</h2>
|
||||||
|
|
||||||
<p><em>Here's a list of the common problems you might face, and the possible solutions.</em></p>
|
<p><em>Here&rsquo;s a list of the common problems you might face, and the possible solutions.</em></p>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page:d680e8a854a7cbad6d490c445cba2eba">I see a blank (white) page instead of the Laravel 'Welcome' page!</h3>
|
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h3>
|
||||||
|
|
||||||
<p>Run the following command from the Laravel root directory:</p>
|
<p>Run the following command from the Laravel root directory:</p>
|
||||||
|
|
||||||
@ -1129,19 +1129,19 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app:d680e8a854a7cbad6d490c445cba2eba">I see &quot;Welcome to nginx&quot; instead of the Laravel App!</h3>
|
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h3>
|
||||||
|
|
||||||
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
|
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated:d680e8a854a7cbad6d490c445cba2eba">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
|
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
|
||||||
|
|
||||||
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
|
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-get-nginx-error-404-not-found-on-windows:d680e8a854a7cbad6d490c445cba2eba">I get NGINX error 404 Not Found on Windows.</h3>
|
<h3 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Go to docker Settings on your Windows machine.</li>
|
<li>Go to docker Settings on your Windows machine.</li>
|
||||||
@ -1152,18 +1152,18 @@ e) set it to <code>true</code></p>
|
|||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="the-time-in-my-services-does-not-match-the-current-time:d680e8a854a7cbad6d490c445cba2eba">The time in my services does not match the current time</h3>
|
<h3 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Make sure you've <a href="#Change-the-timezone">changed the timezone</a>.</li>
|
<li>Make sure you&rsquo;ve <a href="#Change-the-timezone">changed the timezone</a>.</li>
|
||||||
<li>Stop and rebuild the containers (<code>docker-compose up -d --build &lt;services&gt;</code>)</li>
|
<li>Stop and rebuild the containers (<code>docker-compose up -d --build &lt;services&gt;</code>)</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<h3 id="i-get-mysql-connection-refused:d680e8a854a7cbad6d490c445cba2eba">I get MySQL connection refused</h3>
|
<h3 id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
|
||||||
|
|
||||||
<p>This error sometimes happens because your Laravel application isn't running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
|
<p>This error sometimes happens because your Laravel application isn&rsquo;t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Option A
|
<li>Option A
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
|
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=10" />
|
<meta http-equiv="X-UA-Compatible" content="IE=10" />
|
||||||
<title>Getting started - Laradock Docs</title>
|
<title>Getting Started - Laradock Docs</title>
|
||||||
<meta name="generator" content="Hugo 0.18.1" />
|
<meta name="generator" content="Hugo 0.18.1" />
|
||||||
|
|
||||||
|
|
||||||
@ -97,7 +97,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="stretch">
|
<div class="stretch">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
Getting started
|
Getting Started
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -180,9 +180,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Introduction" href="http://laradock.io/">
|
<a title="Overview" href="http://laradock.io/">
|
||||||
|
|
||||||
Introduction
|
Overview
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -198,9 +198,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="current" title="Getting started" href="http://laradock.io/getting-started/">
|
<a class="current" title="Getting Started" href="http://laradock.io/getting-started/">
|
||||||
|
|
||||||
Getting started
|
Getting Started
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -332,30 +332,26 @@
|
|||||||
|
|
||||||
<article class="article">
|
<article class="article">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1>Getting started </h1>
|
<h1>Getting Started </h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p><a name="Requirements"></a></p>
|
<h2 id="requirements">Requirements</h2>
|
||||||
|
|
||||||
<h2 id="requirements:d680e8a854a7cbad6d490c445cba2eba">Requirements</h2>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://git-scm.com/downloads">Git</a></li>
|
<li><a href="https://git-scm.com/downloads">Git</a></li>
|
||||||
<li><a href="https://www.docker.com/products/docker/">Docker</a> <code>>= 1.12</code></li>
|
<li><a href="https://www.docker.com/products/docker/">Docker</a> <code>>= 1.12</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><a name="Installation"></a></p>
|
<h2 id="installation">Installation</h2>
|
||||||
|
|
||||||
<h2 id="installation:d680e8a854a7cbad6d490c445cba2eba">Installation</h2>
|
|
||||||
|
|
||||||
<p>Choose the setup the best suits your needs.</p>
|
<p>Choose the setup the best suits your needs.</p>
|
||||||
|
|
||||||
<h4 id="a-setup-for-single-project:d680e8a854a7cbad6d490c445cba2eba">A) Setup for Single Project:</h4>
|
<h4 id="a-setup-for-single-project">A) Setup for Single Project:</h4>
|
||||||
|
|
||||||
<p><em>(In case you want a Docker environment for each project)</em></p>
|
<p><em>(In case you want a Docker environment for each project)</em></p>
|
||||||
|
|
||||||
<h5 id="a-1-setup-environment-in-existing-project:d680e8a854a7cbad6d490c445cba2eba">A.1) Setup environment in existing Project:</h5>
|
<h5 id="a-1-setup-environment-in-existing-project">A.1) Setup environment in existing Project:</h5>
|
||||||
|
|
||||||
<p><em>(In case you already have a project, and you want to setup an environment to run it)</em></p>
|
<p><em>(In case you already have a project, and you want to setup an environment to run it)</em></p>
|
||||||
|
|
||||||
@ -376,9 +372,9 @@
|
|||||||
- laradock
|
- laradock
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h5 id="a-2-setup-environment-first-then-create-project:d680e8a854a7cbad6d490c445cba2eba">A.2) Setup environment first then create project:</h5>
|
<h5 id="a-2-setup-environment-first-then-create-project">A.2) Setup environment first then create project:</h5>
|
||||||
|
|
||||||
<p><em>(In case you don't have a project, and you want to create your project inside the Docker environment)</em></p>
|
<p><em>(In case you don’t have a project, and you want to create your project inside the Docker environment)</em></p>
|
||||||
|
|
||||||
<p>1 - Clone this repository anywhere on your machine:</p>
|
<p>1 - Clone this repository anywhere on your machine:</p>
|
||||||
|
|
||||||
@ -399,7 +395,7 @@
|
|||||||
<pre><code>docker-compose stop && docker-compose up -d XXXX YYYY ZZZZ ....
|
<pre><code>docker-compose stop && docker-compose up -d XXXX YYYY ZZZZ ....
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h4 id="b-setup-for-multiple-projects:d680e8a854a7cbad6d490c445cba2eba">B) Setup for Multiple Projects:</h4>
|
<h4 id="b-setup-for-multiple-projects">B) Setup for Multiple Projects:</h4>
|
||||||
|
|
||||||
<p>1 - Clone this repository anywhere on your machine:</p>
|
<p>1 - Clone this repository anywhere on your machine:</p>
|
||||||
|
|
||||||
@ -415,7 +411,7 @@
|
|||||||
- ../project2/:/var/www/project2
|
- ../project2/:/var/www/project2
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>3 - You can access all sites by visiting <code>http://localhost/project1/public</code> and <code>http://localhost/project2/public</code> but of course that's not very useful so let's setup NGINX quickly.</p>
|
<p>3 - You can access all sites by visiting <code>http://localhost/project1/public</code> and <code>http://localhost/project2/public</code> but of course that’s not very useful so let’s setup NGINX quickly.</p>
|
||||||
|
|
||||||
<p>4 - Go to <code>nginx/sites</code> and copy <code>sample.conf.example</code> to <code>project1.conf</code> then to <code>project2.conf</code></p>
|
<p>4 - Go to <code>nginx/sites</code> and copy <code>sample.conf.example</code> to <code>project1.conf</code> then to <code>project2.conf</code></p>
|
||||||
|
|
||||||
@ -425,7 +421,7 @@
|
|||||||
root /var/www/project1/public;
|
root /var/www/project1/public;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Do the same for each project <code>project2.conf</code>, <code>project3.conf</code>,...</p>
|
<p>Do the same for each project <code>project2.conf</code>, <code>project3.conf</code>,…</p>
|
||||||
|
|
||||||
<p>6 - Add the domains to the <strong>hosts</strong> files.</p>
|
<p>6 - Add the domains to the <strong>hosts</strong> files.</p>
|
||||||
|
|
||||||
@ -434,9 +430,7 @@
|
|||||||
|
|
||||||
<p>7 - Create your project Databases. Right now you have to do it manually by entering your DB container, until we automate it soon.</p>
|
<p>7 - Create your project Databases. Right now you have to do it manually by entering your DB container, until we automate it soon.</p>
|
||||||
|
|
||||||
<p><a name="Usage"></a></p>
|
<h2 id="usage">Usage</h2>
|
||||||
|
|
||||||
<h2 id="usage:d680e8a854a7cbad6d490c445cba2eba">Usage</h2>
|
|
||||||
|
|
||||||
<p><strong>Read Before starting:</strong></p>
|
<p><strong>Read Before starting:</strong></p>
|
||||||
|
|
||||||
@ -450,7 +444,7 @@
|
|||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><strong>Warning:</strong> If you used an older version of LaraDock it's highly recommended to rebuild the containers you need to use <a href="#Build-Re-build-Containers">see how you rebuild a container</a> in order to prevent errors as much as possible.</p>
|
<p><strong>Warning:</strong> If you used an older version of LaraDock it’s highly recommended to rebuild the containers you need to use <a href="#Build-Re-build-Containers">see how you rebuild a container</a> in order to prevent errors as much as possible.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
@ -462,14 +456,14 @@
|
|||||||
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><strong>Note</strong>: The <code>workspace</code> and <code>php-fpm</code> will run automatically in most of the cases, so no need to specify them in the <code>up</code> command. If you couldn't find them running then you need specify them as follow: <code>docker-compose up -d nginx php-fpm mysql workspace</code>.</p>
|
<p><strong>Note</strong>: The <code>workspace</code> and <code>php-fpm</code> will run automatically in most of the cases, so no need to specify them in the <code>up</code> command. If you couldn’t find them running then you need specify them as follow: <code>docker-compose up -d nginx php-fpm mysql workspace</code>.</p>
|
||||||
|
|
||||||
<p>You can select your own combination of Containers form the list below:</p>
|
<p>You can select your own combination of Containers form the list below:</p>
|
||||||
|
|
||||||
<p><code>nginx</code>, <code>hhvm</code>, <code>php-fpm</code>, <code>mysql</code>, <code>redis</code>, <code>postgres</code>, <code>mariadb</code>, <code>neo4j</code>, <code>mongo</code>, <code>apache2</code>, <code>caddy</code>, <code>memcached</code>, <code>beanstalkd</code>, <code>beanstalkd-console</code>, <code>rabbitmq</code>, <code>workspace</code>, <code>phpmyadmin</code>, <code>aerospike</code>, <code>pgadmin</code>, <code>elasticsearch</code>, <code>rethinkdb</code>.</p>
|
<p><code>nginx</code>, <code>hhvm</code>, <code>php-fpm</code>, <code>mysql</code>, <code>redis</code>, <code>postgres</code>, <code>mariadb</code>, <code>neo4j</code>, <code>mongo</code>, <code>apache2</code>, <code>caddy</code>, <code>memcached</code>, <code>beanstalkd</code>, <code>beanstalkd-console</code>, <code>rabbitmq</code>, <code>workspace</code>, <code>phpmyadmin</code>, <code>aerospike</code>, <code>pgadmin</code>, <code>elasticsearch</code>, <code>rethinkdb</code>.</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
2 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, ...).</p>
|
2 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, …).</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose exec workspace bash
|
<pre><code class="language-bash">docker-compose exec workspace bash
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -479,7 +473,7 @@
|
|||||||
<pre><code class="language-bash">docker exec -it {workspace-container-id} bash
|
<pre><code class="language-bash">docker exec -it {workspace-container-id} bash
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><strong>Note:</strong> You can add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host's user. (you can change the PUID (User id) and PGID (group id) variables from the <code>docker-compose.yml</code>).</p>
|
<p><strong>Note:</strong> You can add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host’s user. (you can change the PUID (User id) and PGID (group id) variables from the <code>docker-compose.yml</code>).</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
3 - Edit your project configurations.</p>
|
3 - Edit your project configurations.</p>
|
||||||
@ -489,7 +483,7 @@
|
|||||||
<pre><code class="language-env">DB_HOST=mysql
|
<pre><code class="language-env">DB_HOST=mysql
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><em>If you want to use Laravel and you don't have it installed yet, see <a href="#Install-Laravel">How to Install Laravel in a Docker Container</a>.</em></p>
|
<p><em>If you want to use Laravel and you don’t have it installed yet, see <a href="#Install-Laravel">How to Install Laravel in a Docker Container</a>.</em></p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
4 - Open your browser and visit your localhost address (<code>http://localhost/</code>).</p>
|
4 - Open your browser and visit your localhost address (<code>http://localhost/</code>).</p>
|
||||||
@ -514,6 +508,22 @@
|
|||||||
<nav class="pagination" aria-label="Footer">
|
<nav class="pagination" aria-label="Footer">
|
||||||
<div class="previous">
|
<div class="previous">
|
||||||
|
|
||||||
|
<a href="http://laradock.io/" title="Overview">
|
||||||
|
<span class="direction">
|
||||||
|
Previous
|
||||||
|
</span>
|
||||||
|
<div class="page">
|
||||||
|
<div class="button button-previous" role="button" aria-label="Previous">
|
||||||
|
<i class="icon icon-back"></i>
|
||||||
|
</div>
|
||||||
|
<div class="stretch">
|
||||||
|
<div class="title">
|
||||||
|
Overview
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="next">
|
<div class="next">
|
||||||
|
@ -9,33 +9,29 @@
|
|||||||
<atom:link href="http://laradock.io/getting-started/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://laradock.io/getting-started/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Getting started</title>
|
<title>Getting Started</title>
|
||||||
<link>http://laradock.io/getting-started/</link>
|
<link>http://laradock.io/getting-started/</link>
|
||||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||||
|
|
||||||
<guid>http://laradock.io/getting-started/</guid>
|
<guid>http://laradock.io/getting-started/</guid>
|
||||||
<description>
|
<description>
|
||||||
|
|
||||||
<p><a name="Requirements"></a></p>
|
<h2 id="requirements">Requirements</h2>
|
||||||
|
|
||||||
<h2 id="requirements:d680e8a854a7cbad6d490c445cba2eba">Requirements</h2>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://git-scm.com/downloads">Git</a></li>
|
<li><a href="https://git-scm.com/downloads">Git</a></li>
|
||||||
<li><a href="https://www.docker.com/products/docker/">Docker</a> <code>&gt;= 1.12</code></li>
|
<li><a href="https://www.docker.com/products/docker/">Docker</a> <code>&gt;= 1.12</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><a name="Installation"></a></p>
|
<h2 id="installation">Installation</h2>
|
||||||
|
|
||||||
<h2 id="installation:d680e8a854a7cbad6d490c445cba2eba">Installation</h2>
|
|
||||||
|
|
||||||
<p>Choose the setup the best suits your needs.</p>
|
<p>Choose the setup the best suits your needs.</p>
|
||||||
|
|
||||||
<h4 id="a-setup-for-single-project:d680e8a854a7cbad6d490c445cba2eba">A) Setup for Single Project:</h4>
|
<h4 id="a-setup-for-single-project">A) Setup for Single Project:</h4>
|
||||||
|
|
||||||
<p><em>(In case you want a Docker environment for each project)</em></p>
|
<p><em>(In case you want a Docker environment for each project)</em></p>
|
||||||
|
|
||||||
<h5 id="a-1-setup-environment-in-existing-project:d680e8a854a7cbad6d490c445cba2eba">A.1) Setup environment in existing Project:</h5>
|
<h5 id="a-1-setup-environment-in-existing-project">A.1) Setup environment in existing Project:</h5>
|
||||||
|
|
||||||
<p><em>(In case you already have a project, and you want to setup an environment to run it)</em></p>
|
<p><em>(In case you already have a project, and you want to setup an environment to run it)</em></p>
|
||||||
|
|
||||||
@ -56,9 +52,9 @@
|
|||||||
- laradock
|
- laradock
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h5 id="a-2-setup-environment-first-then-create-project:d680e8a854a7cbad6d490c445cba2eba">A.2) Setup environment first then create project:</h5>
|
<h5 id="a-2-setup-environment-first-then-create-project">A.2) Setup environment first then create project:</h5>
|
||||||
|
|
||||||
<p><em>(In case you don't have a project, and you want to create your project inside the Docker environment)</em></p>
|
<p><em>(In case you don&rsquo;t have a project, and you want to create your project inside the Docker environment)</em></p>
|
||||||
|
|
||||||
<p>1 - Clone this repository anywhere on your machine:</p>
|
<p>1 - Clone this repository anywhere on your machine:</p>
|
||||||
|
|
||||||
@ -79,7 +75,7 @@
|
|||||||
<pre><code>docker-compose stop &amp;&amp; docker-compose up -d XXXX YYYY ZZZZ ....
|
<pre><code>docker-compose stop &amp;&amp; docker-compose up -d XXXX YYYY ZZZZ ....
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h4 id="b-setup-for-multiple-projects:d680e8a854a7cbad6d490c445cba2eba">B) Setup for Multiple Projects:</h4>
|
<h4 id="b-setup-for-multiple-projects">B) Setup for Multiple Projects:</h4>
|
||||||
|
|
||||||
<p>1 - Clone this repository anywhere on your machine:</p>
|
<p>1 - Clone this repository anywhere on your machine:</p>
|
||||||
|
|
||||||
@ -95,7 +91,7 @@
|
|||||||
- ../project2/:/var/www/project2
|
- ../project2/:/var/www/project2
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>3 - You can access all sites by visiting <code>http://localhost/project1/public</code> and <code>http://localhost/project2/public</code> but of course that's not very useful so let's setup NGINX quickly.</p>
|
<p>3 - You can access all sites by visiting <code>http://localhost/project1/public</code> and <code>http://localhost/project2/public</code> but of course that&rsquo;s not very useful so let&rsquo;s setup NGINX quickly.</p>
|
||||||
|
|
||||||
<p>4 - Go to <code>nginx/sites</code> and copy <code>sample.conf.example</code> to <code>project1.conf</code> then to <code>project2.conf</code></p>
|
<p>4 - Go to <code>nginx/sites</code> and copy <code>sample.conf.example</code> to <code>project1.conf</code> then to <code>project2.conf</code></p>
|
||||||
|
|
||||||
@ -105,7 +101,7 @@
|
|||||||
root /var/www/project1/public;
|
root /var/www/project1/public;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>Do the same for each project <code>project2.conf</code>, <code>project3.conf</code>,...</p>
|
<p>Do the same for each project <code>project2.conf</code>, <code>project3.conf</code>,&hellip;</p>
|
||||||
|
|
||||||
<p>6 - Add the domains to the <strong>hosts</strong> files.</p>
|
<p>6 - Add the domains to the <strong>hosts</strong> files.</p>
|
||||||
|
|
||||||
@ -114,9 +110,7 @@
|
|||||||
|
|
||||||
<p>7 - Create your project Databases. Right now you have to do it manually by entering your DB container, until we automate it soon.</p>
|
<p>7 - Create your project Databases. Right now you have to do it manually by entering your DB container, until we automate it soon.</p>
|
||||||
|
|
||||||
<p><a name="Usage"></a></p>
|
<h2 id="usage">Usage</h2>
|
||||||
|
|
||||||
<h2 id="usage:d680e8a854a7cbad6d490c445cba2eba">Usage</h2>
|
|
||||||
|
|
||||||
<p><strong>Read Before starting:</strong></p>
|
<p><strong>Read Before starting:</strong></p>
|
||||||
|
|
||||||
@ -130,7 +124,7 @@
|
|||||||
<p><br></p>
|
<p><br></p>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><strong>Warning:</strong> If you used an older version of LaraDock it's highly recommended to rebuild the containers you need to use <a href="#Build-Re-build-Containers">see how you rebuild a container</a> in order to prevent errors as much as possible.</p>
|
<p><strong>Warning:</strong> If you used an older version of LaraDock it&rsquo;s highly recommended to rebuild the containers you need to use <a href="#Build-Re-build-Containers">see how you rebuild a container</a> in order to prevent errors as much as possible.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<p><br></p>
|
<p><br></p>
|
||||||
@ -142,14 +136,14 @@
|
|||||||
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
<pre><code class="language-bash">docker-compose up -d nginx mysql
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><strong>Note</strong>: The <code>workspace</code> and <code>php-fpm</code> will run automatically in most of the cases, so no need to specify them in the <code>up</code> command. If you couldn't find them running then you need specify them as follow: <code>docker-compose up -d nginx php-fpm mysql workspace</code>.</p>
|
<p><strong>Note</strong>: The <code>workspace</code> and <code>php-fpm</code> will run automatically in most of the cases, so no need to specify them in the <code>up</code> command. If you couldn&rsquo;t find them running then you need specify them as follow: <code>docker-compose up -d nginx php-fpm mysql workspace</code>.</p>
|
||||||
|
|
||||||
<p>You can select your own combination of Containers form the list below:</p>
|
<p>You can select your own combination of Containers form the list below:</p>
|
||||||
|
|
||||||
<p><code>nginx</code>, <code>hhvm</code>, <code>php-fpm</code>, <code>mysql</code>, <code>redis</code>, <code>postgres</code>, <code>mariadb</code>, <code>neo4j</code>, <code>mongo</code>, <code>apache2</code>, <code>caddy</code>, <code>memcached</code>, <code>beanstalkd</code>, <code>beanstalkd-console</code>, <code>rabbitmq</code>, <code>workspace</code>, <code>phpmyadmin</code>, <code>aerospike</code>, <code>pgadmin</code>, <code>elasticsearch</code>, <code>rethinkdb</code>.</p>
|
<p><code>nginx</code>, <code>hhvm</code>, <code>php-fpm</code>, <code>mysql</code>, <code>redis</code>, <code>postgres</code>, <code>mariadb</code>, <code>neo4j</code>, <code>mongo</code>, <code>apache2</code>, <code>caddy</code>, <code>memcached</code>, <code>beanstalkd</code>, <code>beanstalkd-console</code>, <code>rabbitmq</code>, <code>workspace</code>, <code>phpmyadmin</code>, <code>aerospike</code>, <code>pgadmin</code>, <code>elasticsearch</code>, <code>rethinkdb</code>.</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
2 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, ...).</p>
|
2 - Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, &hellip;).</p>
|
||||||
|
|
||||||
<pre><code class="language-bash">docker-compose exec workspace bash
|
<pre><code class="language-bash">docker-compose exec workspace bash
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -159,7 +153,7 @@
|
|||||||
<pre><code class="language-bash">docker exec -it {workspace-container-id} bash
|
<pre><code class="language-bash">docker exec -it {workspace-container-id} bash
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><strong>Note:</strong> You can add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host's user. (you can change the PUID (User id) and PGID (group id) variables from the <code>docker-compose.yml</code>).</p>
|
<p><strong>Note:</strong> You can add <code>--user=laradock</code> (example <code>docker-compose exec --user=laradock workspace bash</code>) to have files created as your host&rsquo;s user. (you can change the PUID (User id) and PGID (group id) variables from the <code>docker-compose.yml</code>).</p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
3 - Edit your project configurations.</p>
|
3 - Edit your project configurations.</p>
|
||||||
@ -169,7 +163,7 @@
|
|||||||
<pre><code class="language-env">DB_HOST=mysql
|
<pre><code class="language-env">DB_HOST=mysql
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p><em>If you want to use Laravel and you don't have it installed yet, see <a href="#Install-Laravel">How to Install Laravel in a Docker Container</a>.</em></p>
|
<p><em>If you want to use Laravel and you don&rsquo;t have it installed yet, see <a href="#Install-Laravel">How to Install Laravel in a Docker Container</a>.</em></p>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
4 - Open your browser and visit your localhost address (<code>http://localhost/</code>).</p>
|
4 - Open your browser and visit your localhost address (<code>http://localhost/</code>).</p>
|
||||||
|
@ -180,9 +180,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Introduction" href="http://laradock.io/">
|
<a title="Overview" href="http://laradock.io/">
|
||||||
|
|
||||||
Introduction
|
Overview
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -198,9 +198,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Getting started" href="http://laradock.io/getting-started/">
|
<a title="Getting Started" href="http://laradock.io/getting-started/">
|
||||||
|
|
||||||
Getting started
|
Getting Started
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
2918
docs/index.html
2918
docs/index.html
File diff suppressed because it is too large
Load Diff
3134
docs/index.xml
3134
docs/index.xml
File diff suppressed because it is too large
Load Diff
@ -180,9 +180,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Introduction" href="http://laradock.io/">
|
<a title="Overview" href="http://laradock.io/">
|
||||||
|
|
||||||
Introduction
|
Overview
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -198,9 +198,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Getting started" href="http://laradock.io/getting-started/">
|
<a title="Getting Started" href="http://laradock.io/getting-started/">
|
||||||
|
|
||||||
Getting started
|
Getting Started
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
@ -180,9 +180,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Introduction" href="http://laradock.io/">
|
<a title="Overview" href="http://laradock.io/">
|
||||||
|
|
||||||
Introduction
|
Overview
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@ -198,9 +198,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a title="Getting started" href="http://laradock.io/getting-started/">
|
<a title="Getting Started" href="http://laradock.io/getting-started/">
|
||||||
|
|
||||||
Getting started
|
Getting Started
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>http://laradock.io/</loc>
|
||||||
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>http://laradock.io/getting-started/</loc>
|
<loc>http://laradock.io/getting-started/</loc>
|
||||||
</url>
|
</url>
|
||||||
@ -60,8 +64,4 @@
|
|||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>http://laradock.io/</loc>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
</urlset>
|
</urlset>
|
Loading…
Reference in New Issue
Block a user