by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

D-Laravel v1.2.1 revision instructions
use GuzzleHttp\Client; When posting, there is an access denied problem.
If you are upgrading from an older version, you may need to adjust the configuration file in etc/default-ssl.conf (if there is one)
Please adjust php:9000 to web:9000, you can adjust it by executing ./console secure once.

The docker-compose configuration file section,
PHP-FPM container changed to network_mode: "service:web"

And remove the relevant settings of the PHP-FPM container part.
hostname: php
networks:
- dlaravel_net

You can refer to the following changes, and similar corrections may be required on your local side:
Modifications on github

Manual adjustment, you need to pay attention to whether the two files generated after downloading are correctly set.
docker-compose-custom.yml (please use network_mode: "service:web" in the php-fpm container part)
./etc/default-ssl.conf (If there is this file under ./etc, please adjust php:9000 to web:9000)

If you can't adjust it yourself, there is an easier way to update.

Copy the database data and project of the old version to the directory of the new version for testing, the process is as follows:
1. Download a new trial directly, and name the folder dlaravel-test
git clone https://github.com/DevinY/dlaravel.git dlaravel-test
2. Enter the new version test folder dlaravel-test.
cd dlaravel-test
3. Copy the old version mysql database to the new version dlaravel-test directory.
cp -r ~/dlaravel/data .
4. Copy the old version of the project to the new version of the sites directory, for example, here I copied sites/test3 to the new version of the sites directory.
It is assumed here that you have a test3 project in the old version
cp -r ~/dlaravel/sites/test3 sites/
5. Start the test. If the container of your old version of d-laravel is starting, please turn it off first, so as to avoid connection server conflicts.
The following commands directly create and execute containers on standard ports 80, 443 and 3306.
./console normal
Or execute ./console up directly, the default is random random port.

You can refer to the release note of this version.
v1.2.1

If you encounter any problems with the update, you can also leave a message as a visitor in the D-Laravel chat room:
D-Laravel chat room

Tags: d-laravel docker

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel,docker

How to customize Laravel pagination

Recently, I have been free, and I want to adjust the arrows on the upper and lower pages of the website. If you don’t know how to customize Laravel’s pagination, You can take a look at a short three-minute introduction on how I customize Laravel's pagination.

docker,laravel

It's super easy to build a Lravel development environment with Docker

Are you ready for the Laravel 5.5 system environment? laravel/framework 5.5.x-dev requires php >=7.0 -> your PHP version (5.6.30) does not satisfy that requirement. This article describes how to create a Laravel development environment using Docker. With the simple to explosive D-Laravel simple bash, Don't say that I can't set up a Laravel development environment.