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


docker

Docker antivirus strategy

I just watched Story of Yanxi Palace recently, so I wanted to introduce a MacOS anti-drug strategy. This article teaches you how to use Docker to clean MacOS. Briefly introduce how we use anti-virus software to scan viruses through docker. It is assumed that my current directory is in my home directory, so ${PWD} is the current directory and will be mounted to the scan folder in the container. Therefore, when you use clamscan -r /scan/, you can scan all the files. Adding the -r parameter will use the recursive method to enter the subdirectory layer by layer to scan.

docker

How to update or rebuild D-Laravel's FPM Image

Sometimes, the docker image will undergo some corrections or add more plug-ins, how do we update the image in the computer? It's very simple, use docker pull [use the image], if you want to create your own image is also feasible...

docker, goaccess, config

phpenv actual combat GoAccess is real website analysis (docker version)

Before I start, let me say that GoAccess can also generate static data as long as you have a log, because I think the real-time feeling is more dazzling, so this article will focus on the part of GoAccess real-time display. Although Google Analytics (GA) is very useful, it is also very good to try another GA. For example, you want to know which browsers website users use to visit the website.