by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

This video introduces how to use the docker-compose command to specify multiple YAML structure language configuration files to create container execution, and introduces how we simplify docker-compose by using .env in the D-Laravel environment Start command.

D-Laravel users must watch the video, docker users, in this video, you can learn how to specify multiple yaml files at the same time by command.

Please update to the latest D-Laravel v1.2.13 to ensure that all functions can be executed normally,
Query the available version of D-Laravel./console version
If your D-Laravel project is already in operation, it is recommended to clone another version to try it out first.
In order to avoid site efect affecting the original normal operation of the project.
git clone dlaravel-test

For a detailed introduction to D-Laravel, please refer to my GitHub URL:

Tags: docker laravel

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


Install docker-compose on ubuntu

Briefly introduce how I installed docker-compose on ubuntu. Quite easy.


The use of iptabels is required in the Docker Swarm environment

First of all, in the Linux environment, Docker uses iptables rules to provide network isolation. However, in the environment of Docker swarm mode, we cannot identify the connection port under of the host. At this time, we can customize the rules through the DOCKER-USER chain in iptables.


D-Laravel specific service restart

Normally, we use ./console restart to rebuild and execute contaiener. Sometimes, we have multiple services and don't want to restart all services at once, At this time, you can use ./console restart [servce name] to restart a specific service..