Merge branch 'master' into add-ast-ext
This commit is contained in:
@ -76,7 +76,7 @@ docker-compose exec mysql bash
|
||||
*Example: enter to MySQL prompt within MySQL container*
|
||||
|
||||
```bash
|
||||
docker-compose exec mysql mysql -u homestead -psecret
|
||||
docker-compose exec mysql mysql -udefault -psecret
|
||||
```
|
||||
|
||||
3 - To exit a container, type `exit`.
|
||||
@ -536,7 +536,7 @@ Note: Should add `--user=laradock` (example `docker-compose exec --user=laradock
|
||||
php artisan
|
||||
```
|
||||
```bash
|
||||
Composer update
|
||||
composer update
|
||||
```
|
||||
```bash
|
||||
phpunit
|
||||
@ -650,7 +650,7 @@ docker-compose up -d metabase
|
||||
|
||||
1) Boot the container `docker-compose up -d jenkins`. To enter the container type `docker-compose exec jenkins bash`.
|
||||
|
||||
2) Go to `http://localhost:8090/` (if you didn't chanhed your default port mapping)
|
||||
2) Go to `http://localhost:8090/` (if you didn't change your default port mapping)
|
||||
|
||||
3) Authenticate from the web app.
|
||||
|
||||
@ -1044,6 +1044,7 @@ _Note: You can customize the port on which beanstalkd console is listening by ch
|
||||
|
||||
<br>
|
||||
<a name="Use-Confluence"></a>
|
||||
|
||||
## Use Confluence
|
||||
|
||||
1 - Run the Confluence Container (`confluence`) with the `docker-compose up` command. Example:
|
||||
@ -1054,10 +1055,19 @@ docker-compose up -d confluence
|
||||
|
||||
2 - Open your browser and visit the localhost on port **8090**: `http://localhost:8090`
|
||||
|
||||
**Note:** You can you trial version and then you have to buy a licence to use it.
|
||||
**Note:** Confluence is a licensed application - an evaluation licence can be obtained from Atlassian.
|
||||
|
||||
You can set custom confluence version in `CONFLUENCE_VERSION`. [Find more info in section 'Versioning'](https://hub.docker.com/r/atlassian/confluence-server/)
|
||||
|
||||
|
||||
##### Confluence usage with Nginx and SSL.
|
||||
|
||||
1. Find an instance configuration file in `nginx/sites/confluence.conf.example` and replace sample domain with yours.
|
||||
|
||||
2. Configure ssl keys to your domain.
|
||||
|
||||
Keep in mind that Confluence is still accessible on 8090 anyway.
|
||||
|
||||
<br>
|
||||
<a name="Use-ElasticSearch"></a>
|
||||
## Use ElasticSearch
|
||||
@ -1575,7 +1585,7 @@ The default username and password for the root MySQL user are `root` and `root `
|
||||
|
||||
1 - Enter the MySQL container: `docker-compose exec mysql bash`.
|
||||
|
||||
2 - Enter mysql: `mysql -uroot -proot` for non root access use `mysql -uhomestead -psecret`.
|
||||
2 - Enter mysql: `mysql -uroot -proot` for non root access use `mysql -udefault -psecret`.
|
||||
|
||||
3 - See all users: `SELECT User FROM mysql.user;`
|
||||
|
||||
@ -1865,6 +1875,27 @@ To install GNU Parallel in the Workspace container
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<a name="Install-Supervisor"></a>
|
||||
## Install Supervisor
|
||||
|
||||
Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
|
||||
|
||||
(see http://supervisord.org/index.html)
|
||||
|
||||
To install Supervisor in the Workspace container
|
||||
|
||||
1 - Open the `.env` file
|
||||
|
||||
2 - Set `WORKSPACE_INSTALL_SUPERVISOR` and `WORKSPACE_INSTALL_PYTHON` to `true`.
|
||||
|
||||
3 - Re-build the container `docker-compose build workspace` Or `docker-composer up --build -d workspace`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<a name="Common-Aliases"></a>
|
||||
<br>
|
||||
|
@ -70,6 +70,16 @@ If you want to only execute some command and don't want to enter bash, you can e
|
||||
docker-compose run workspace php artisan migrate
|
||||
```
|
||||
|
||||
### Prepare for Visual Studio Code remote development
|
||||
|
||||
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):
|
||||
```
|
||||
cd .devcontainer
|
||||
cp devcontainer.example.json devcontainer.json
|
||||
```
|
||||
|
||||
Then open your `laradock` folder in Visual Studio Code and click on popup button **Reopen in Container**.
|
||||
|
||||
### Install and configure Laravel
|
||||
|
||||
Let's install Laravel's dependencies, add the `.env` file, generate the key and give proper permissions to the cache folder.
|
||||
|
@ -12,7 +12,7 @@ Supporting a variety of common services, all pre-configured to provide a full PH
|
||||
<a name="features"></a>
|
||||
## Features
|
||||
|
||||
- Easy switch between PHP versions: 7.3, 7.2, 7.1, 5.6...
|
||||
- Easy switch between PHP versions: 7.4, 7.3, 7.2, 7.1, 5.6...
|
||||
- Choose your favorite database engine: MySQL, Postgres, MariaDB...
|
||||
- Run your own stack: Memcached, HHVM, RabbitMQ...
|
||||
- Each software runs on its own container: PHP-FPM, NGINX, PHP-CLI...
|
||||
@ -36,7 +36,6 @@ Supporting a variety of common services, all pre-configured to provide a full PH
|
||||
<a name="sponsors"></a>
|
||||
## Sponsors
|
||||
|
||||
<a href="https://opencollective.com/socketio/sponsor/23/website" target="_blank"><img src="https://opencollective.com/socketio/sponsor/23/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/laradock/sponsor/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/laradock/sponsor/0/avatar.svg?requireActive=false"></a>
|
||||
<a href="https://opencollective.com/laradock/sponsor/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/laradock/sponsor/1/avatar.svg?requireActive=false"></a>
|
||||
<a href="https://opencollective.com/laradock/sponsor/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/laradock/sponsor/2/avatar.svg?requireActive=false"></a>
|
||||
@ -194,6 +193,7 @@ That's it! enjoy :)
|
||||
- Eclipse Mosquitto
|
||||
- PHP Worker
|
||||
- Laravel Horizon
|
||||
- Gearman
|
||||
|
||||
- **Mail Servers:**
|
||||
- Mailu
|
||||
|
Reference in New Issue
Block a user