Skip to content

Commit e5a54fa

Browse files
author
Búza Géza
committed
Drop Fig in favour of Docker Compose
According to Fig documentaion the project is no longer maintained and Docker Compose should be used as replacement. This commit updates both the YAML configuration and documentation accordingly.
1 parent e359399 commit e5a54fa

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
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)