You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Boot the container `docker-compose up -d jenkins`. To enter the container type `docker-compose exec jenkins bash`.
652
652
653
-
2) Go to `http://localhost:8090/` (if you didn't chanhed your default port mapping)
653
+
2) Go to `http://localhost:8090/` (if you didn't change your default port mapping)
654
654
655
655
3) Authenticate from the web app.
656
656
@@ -1044,6 +1044,7 @@ _Note: You can customize the port on which beanstalkd console is listening by ch
1044
1044
1045
1045
<br>
1046
1046
<a name="Use-Confluence"></a>
1047
+
1047
1048
## Use Confluence
1048
1049
1049
1050
1 - Run the Confluence Container (`confluence`) with the `docker-compose up` command. Example:
@@ -1054,10 +1055,19 @@ docker-compose up -d confluence
1054
1055
1055
1056
2 - Open your browser and visit the localhost on port **8090**: `http://localhost:8090`
1056
1057
1057
-
**Note:** You can you trial version and then you have to buy a licence to use it.
1058
+
**Note:** Confluence is a licensed application - an evaluation licence can be obtained from Atlassian.
1058
1059
1059
1060
You can set custom confluence version in `CONFLUENCE_VERSION`. [Find more info in section 'Versioning'](https://hub.docker.com/r/atlassian/confluence-server/)
1060
1061
1062
+
1063
+
##### Confluence usage with Nginx and SSL.
1064
+
1065
+
1. Find an instance configuration file in `nginx/sites/confluence.conf.example` and replace sample domain with yours.
1066
+
1067
+
2. Configure ssl keys to your domain.
1068
+
1069
+
Keep in mind that Confluence is still accessible on 8090 anyway.
1070
+
1061
1071
<br>
1062
1072
<a name="Use-ElasticSearch"></a>
1063
1073
## Use ElasticSearch
@@ -1575,7 +1585,7 @@ The default username and password for the root MySQL user are `root` and `root `
1575
1585
1576
1586
1 - Enter the MySQL container: `docker-compose exec mysql bash`.
1577
1587
1578
-
2 - Enter mysql: `mysql -uroot -proot` for non root access use `mysql -uhomestead -psecret`.
1588
+
2 - Enter mysql: `mysql -uroot -proot` for non root access use `mysql -udefault -psecret`.
1579
1589
1580
1590
3 - See all users: `SELECT User FROM mysql.user;`
1581
1591
@@ -1865,6 +1875,27 @@ To install GNU Parallel in the Workspace container
1865
1875
1866
1876
1867
1877
1878
+
<br>
1879
+
<aname="Install-Supervisor"></a>
1880
+
## Install Supervisor
1881
+
1882
+
Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
1883
+
1884
+
(see http://supervisord.org/index.html)
1885
+
1886
+
To install Supervisor in the Workspace container
1887
+
1888
+
1 - Open the `.env` file
1889
+
1890
+
2 - Set `WORKSPACE_INSTALL_SUPERVISOR` and `WORKSPACE_INSTALL_PYTHON` to `true`.
1891
+
1892
+
3 - Re-build the container `docker-compose build workspace` Or `docker-composer up --build -d workspace`
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1868
1899
<br>
1869
1900
<aname="Common-Aliases"></a>
1870
1901
<br>
@@ -1973,6 +2004,26 @@ YAML PHP extension allows you to easily parse and create YAML structured data. I
1973
2004
4 - Re-build the container `docker-compose build php-fpm`<br>
1974
2005
1975
2006
2007
+
2008
+
2009
+
<br>
2010
+
<aname="Install-AST"></a>
2011
+
## Install AST PHP extension
2012
+
AST exposes the abstract syntax tree generated by PHP 7+. This extension is required by tools such as `Phan`, a static analyzer for PHP.
2013
+
2014
+
1 - Open the `.env` file
2015
+
2016
+
2 - Search for the `WORKSPACE_INSTALL_AST` argument under the Workspace Container
2017
+
2018
+
3 - Set it to `true`
2019
+
2020
+
4 - Re-build the container `docker-compose build workspace`
2021
+
2022
+
**Note** If you need a specific version of AST then search for the `WORKSPACE_AST_VERSION` argument under the Workspace Container and set it to the desired version and continue step 4.
Copy file name to clipboardExpand all lines: DOCUMENTATION/content/guides/index.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,16 @@ If you want to only execute some command and don't want to enter bash, you can e
70
70
docker-compose run workspace php artisan migrate
71
71
```
72
72
73
+
### Prepare for Visual Studio Code remote development
74
+
75
+
If you want to use Visual Studio Code for [remote development](https://code.visualstudio.com/docs/remote/containers) directly on your `workspace` container, copy file `devcontainer.example.json` to `devcontainer.json` and customize it (see [devcontainer.json reference](https://code.visualstudio.com/docs/remote/containers#_devcontainerjson-reference) for more options):
76
+
```
77
+
cd .devcontainer
78
+
cp devcontainer.example.json devcontainer.json
79
+
```
80
+
81
+
Then open your `laradock` folder in Visual Studio Code and click on popup button **Reopen in Container**.
82
+
73
83
### Install and configure Laravel
74
84
75
85
Let's install Laravel's dependencies, add the `.env` file, generate the key and give proper permissions to the cache folder.
@@ -345,7 +355,7 @@ You could choose to use either:
345
355
1. Chrome Driver shipped with Laravel Dusk. (Default)
346
356
2. Chrome Driver installed in `workspace` container. (Required tweak on DuskTestCase class)
347
357
348
-
For Laravel 2.x, you need to update `DuskTestCase#prepare` method if you wish to go with option #2.
358
+
For Laravel Dusk 2.x, you need to update `DuskTestCase#prepare` method if you wish to go with option #2.
349
359
350
360
```
351
361
@@ -365,7 +375,7 @@ abstract class DuskTestCase extends BaseTestCase
365
375
}
366
376
```
367
377
368
-
For Laravel 1.x, you need to add `DuskTestCase#buildChromeProcess` method if you wish to go with option #2.
378
+
For Laravel Dusk 1.x, you need to add `DuskTestCase#buildChromeProcess` method if you wish to go with option #2.
0 commit comments