Skip to content

Commit 67a3cb4

Browse files
committed
Merge pull request kasperisager#14 from elvetemedve/amend-docker-setup
Drop Fig in favour of Docker Compose
2 parents e359399 + e5a54fa commit 67a3cb4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PHPStack gives you everything you need for developing PHP applications locally.
2020
### Requirements
2121

2222
* [Docker](https://docker.com/)
23-
* [Fig](http://orchardup.github.io/fig/)
23+
* [Docker Compose](http://docs.docker.com/compose/)
2424
* [Vagrant](http://www.vagrantup.com/) (optional)
2525
* [VirtualBox](https://www.virtualbox.org/) (optional)
2626

@@ -35,12 +35,14 @@ $ cd phpstack
3535
$ vagrant up
3636

3737
# Boot up the Docker containers
38-
$ fig up
38+
$ sudo docker-compose up
3939
```
4040

41-
> If you're using the CoreOS box, make sure to set your `DOCKER_HOST` so Fig knows where to boot up the Docker containers.
41+
> 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.
4242
43-
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.
43+
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`.
44+
45+
The default user credentials are `admin:shipyard`. Once logged in, you will need to [add an engine](http://shipyard-project.com/docs/engines/) with an address of `http://<IP>:2375` to see the local containers.
4446

4547
The IP is in both cases either `127.0.0.1` or your Vagrant IP (`192.168.33.10` by default).
4648

File renamed without changes.

0 commit comments

Comments
 (0)