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
- Docker Compose
- 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
$ sudo 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
. When Docker starts, it creates a virtual interface named docker0 on the host machine. The referenced IP will be the address of that interface. It can be obtained by running the command ip addr show dev docker0
.
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.