PHPStack
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!
What's inside
Getting started
Requirements
- Docker
- Fig
- Vagrant (optional)
- VirtualBox (optional)
Instructions
# Clone the repository (using hub)
$ git clone kasperisager/phpstack
$ cd phpstack
# (Optional) Boot up a CoreOS box
$ vagrant up
# Boot up the Docker containers
$ fig up
If you're using the CoreOS box, make sure to set your
DOCKER_HOST
so Fig 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 Kasper Kronborg Isager. Licensed under the terms of the MIT License.