diff options
| author | Jeff Peeler <jpeeler@redhat.com> | 2015-06-26 16:42:15 -0400 |
|---|---|---|
| committer | Jeff Peeler <jpeeler@redhat.com> | 2015-06-26 16:52:45 -0400 |
| commit | 65f89001d04d4c4999ffd40693f947e59432c64b (patch) | |
| tree | 4cdabf5d7357ea5863843faa80d3274a2a8c1864 /docker/centos/binary/docker-compose | |
| parent | b2aeebd62e6fbc9a91f286c16e7f159bbb0e1042 (diff) | |
| download | kolla-65f89001d04d4c4999ffd40693f947e59432c64b.tar.gz kolla-65f89001d04d4c4999ffd40693f947e59432c64b.zip | |
Document installation of docker-compose 1.3.0
Also, change all references from fig to docker-compose.
Change-Id: I6bff2ab57cd6a06293d0a6d130d1cf9bc885b712
Closes-bug: #1468999
Diffstat (limited to 'docker/centos/binary/docker-compose')
| -rw-r--r-- | docker/centos/binary/docker-compose/README.md | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/docker/centos/binary/docker-compose/README.md b/docker/centos/binary/docker-compose/README.md index a63e7fbc9..857202e77 100644 --- a/docker/centos/binary/docker-compose/README.md +++ b/docker/centos/binary/docker-compose/README.md @@ -41,23 +41,24 @@ There are commands to: Installation and documentation ------------------------------ -Full documentation is available on [Fig's website](http://www.fig.sh/). +Full documentation is available on [Docker's website](https://docs.docker.com/compose/). Use wtih Kolla -------------- -Fig (ie docker-compose) is being used to compose one or more co-located -containers know as [container sets][]. Fig is deployed as a container from the -kollaglue [repository][] to Kolla nodes using the Heat orchestration [template]. -The fig container creates a host mount to communicate with the docker api over -a unix socket. The docker engine could be configured to expose the API over TCP -and may be evaluated for future use. An additional host mount to -/opt/docker-compose for fig to read the .yml file. This allows for seperating -the fig code from the data/configuration information. +Docker-compose is being used to compose one or more co-located containers know +as [container sets][]. docker-compose is deployed as a container from the +kollaglue [repository][] to Kolla nodes using the Heat orchestration +[template]. The docker-compose container creates a host mount to communicate +with the docker api over a unix socket. The docker engine could be configured +to expose the API over TCP and may be evaluated for future use. An additional +host mount to /opt/docker-compose for docker-compose to read the .yml file. +This allows for seperating the docker-compose code from the data/configuration +information. Either create or modify the existing docker-compose.yml file at /opt/docker-compose. Here is a simple example of a single container for -RabbitMQ +RabbitMQ: ``` rabbitmq: @@ -79,7 +80,7 @@ Then run up to instantiate the container-set: ``` $ docker run --privileged -v /opt/docker-compose:/opt/docker-compose -v /var/run/docker.sock:/var/run/docker.sock kollaglue/fedora-rdo-docker-compose up -d ``` -The -d flag tells fig to run the container set in daemonized mode. +The -d flag tells docker-compose to run the container set in daemonized mode. [container sets]: https://github.com/stackforge/kolla/blob/master/specs/containerize-openstack.rst [template]: https://github.com/stackforge/kolla/tree/master/devenv @@ -90,7 +91,7 @@ Contribute to Kolla Fig Clone the repo: ``` -git clone https://github.com/docker/fig.git +git clone https://github.com/docker/compose.git ``` Set the following ENVs in the project's Dockerfile: ``` |
