PHPStack gives you everything you need for developing PHP applications locally. The idea came from the need of having an OS-agnostic and virtualized alternative to the great MNPP stack as regular LAMP stacks quite simply can't keep up with the Nginx + PHP-FPM/HHVM combo in terms of performance. I hope you'll find it as useful an addition to your dev-arsenal as I've found it!
- Docker
- Docker Compose
- Vagrant (optional)
- VirtualBox (optional)
# Clone the repository (using hub)
$ git clone kasperisager/phpstack
$ cd phpstack
# (Optional) Boot up a CoreOS box
$ vagrant up
# Boot up the Docker containers
$ docker-compose up
If you're using the CoreOS box, make sure to set your
DOCKER_HOST
so Docker Compose knows where to boot up the Docker containers.
Once everything is up and running, you can access Shipyard at http://<IP>:8080
. The default user credentials are admin:shipyard
. Once logged in, you will need to add an engine with an address of http://<IP>:2375
to see the local containers.
The IP is in both cases either 127.0.0.1
or your Vagrant IP (192.168.33.10
by default).
Copyright © 2014-2015 Kasper Kronborg Isager. Licensed under the terms of the MIT License.