Docker's environment development for PHP (Laravel, Wordpress, Magento...)
View Dockerfiles for the latest tags:
This configuration is intended to be used as a Docker-based development environment for PHP (Laravel, Wordpress, Magento...)
Folders:
images
: Docker images for nginx and phpcompose
: sample setups with Docker Compose
This setup assumes you are running Docker on a computer with at least 6GB of RAM allocated to Docker, a dual-core, and an SSD hard drive. Download & Install Docker Desktop.
This configuration has been tested on Mac & Linux. Windows is supported through the use of Docker on WSL.
bin/bash
: Drop into the bash prompt of your Docker container. Thephpfpm
container should be mainly used to access the filesystem within Docker.bin/cli
: Run any CLI command without going into the bash prompt. Ex.bin/cli ls
bin/docker-compose
: Support V1 (docker-compose
) and V2 (docker compose
) docker compose command, and use custom configuration files, such ascompose.yml
andcompose.dev.yml
bin/restart
: Stop and then start all containers.bin/setup-ssl
: Generate an SSL certificate for one or more domains. Ex.bin/setup-ssl domain.test foo.test
bin/setup-ssl-ca
: Generate a certificate authority and copy it to the host.bin/start
: Start all containers, good practice to use this instead ofdocker-compose up -d
, as it may contain additional helpers.bin/stop
: Stop all project containers.
We encourage and support an active, healthy community of contributors — including you! Details are in the contribution guide and the code of conduct. The flash-development maintainers keep an eye on issues and pull requests, but you can also report any negative conduct to opensource@focela.com. That email list is a private, safe space; even the flash-development maintainers don't have access, so don't hesitate to hold us to a high standard.
Released under the MIT License.