Download the PHP package stakkr/docker-symfony without Composer
On this page you can find all versions of the php package stakkr/docker-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package docker-symfony
stakkr-docker
Up and running with small Docker dev environments.
Documentation
Full documentation can be found at https://vessel.shippingdocker.com.
Install
Stakkr is just a small set of files that sets up a local Docker-based dev environment per project. There is nothing to install globally, except Docker itself!
This is all there is to using it:
Head to http://localhost
in your browser and see your Laravel site!
ou can do this with this command:
cp -R vendor/shipping-docker/vessel/docker-files/{vessel,docker-compose.yml,docker} .
and then you'll be able to install and continue as normal.
Multiple Environments
Stakkr attempts to bind to port 80 and 3306 on your machine, so you can simply go to http://localhost
in your browser.
However, if you run more than one instance of Vessel, you'll get an error when starting it; Each port can only be used once. To get around this, use a different port per project by setting the APP_PORT
and MYSQL_PORT
environment variables in one of two ways:
Within the .env
file:
Or when starting Stakkr:
Then you can view your project at http://localhost:8080
and access your database locally from port 33060
;
Common Commands
Here's a list of built-in helpers you can use. Any command not defined in the vessel
script will default to being passed to the docker-compose
command. If not command is used, it will run docker-compose ps
to list the running containers for this environment.
Starting and Stopping Vessel
Development
Docker Commands
As mentioned, anything not recognized as a built-in command will be used as an argument for the docker-compose
command. Here's a few handy tricks:
What's included?
The aim of this project is simplicity. It includes:
How does this work?
If you're unfamiliar with Docker, try out this Docker in Development course, which explains important topics in how this is put together.
If you want to see how this workflow was developed, check out Shipping Docker and signup for the free course module which explains building this Docker workflow.
Supported Systems
Stakkr requires Docker, and currently only works on Windows, Mac and Linux.
Windows requires running Hyper-V. Using Git Bash (MINGW64) and WSL are supported. Native Windows is still under development.
Mac | Linux | Windows |
---|---|---|
Install Docker on Mac | Install Docker on Debian | Install Docker on Windows |
Install Docker on Ubuntu | ||
Install Docker on CentOS |