Skip to content

Commit 4869fed

Browse files
committed
Merge pull request #835 from aanand/rebrand
Rebrand (pre-RC)
2 parents 7be8b4c + 16d6018 commit 4869fed

79 files changed

Lines changed: 314 additions & 698 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
/dist
66
/docs/_site
77
/venv
8-
fig.spec
8+
docker-compose.spec

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Fig
1+
# Contributing to Compose
22

33
## TL;DR
44

@@ -11,14 +11,14 @@ Pull requests will need:
1111

1212
## Development environment
1313

14-
If you're looking contribute to [Fig](http://www.fig.sh/)
14+
If you're looking contribute to Compose
1515
but you're new to the project or maybe even to Python, here are the steps
1616
that should get you started.
1717

18-
1. Fork [https://github.com/docker/fig](https://github.com/docker/fig) to your username.
19-
1. Clone your forked repository locally `git clone git@github.com:yourusername/fig.git`.
20-
1. Enter the local directory `cd fig`.
21-
1. Set up a development environment by running `python setup.py develop`. This will install the dependencies and set up a symlink from your `fig` executable to the checkout of the repository. When you now run `fig` from anywhere on your machine, it will run your development version of Fig.
18+
1. Fork [https://github.com/docker/compose](https://github.com/docker/compose) to your username.
19+
1. Clone your forked repository locally `git clone git@github.com:yourusername/compose.git`.
20+
1. Enter the local directory `cd compose`.
21+
1. Set up a development environment by running `python setup.py develop`. This will install the dependencies and set up a symlink from your `docker-compose` executable to the checkout of the repository. When you now run `docker-compose` from anywhere on your machine, it will run your development version of Compose.
2222

2323
## Running the test suite
2424

@@ -84,15 +84,15 @@ Note that this only works on Mountain Lion, not Mavericks, due to a [bug in PyIn
8484

8585
1. Open pull request that:
8686

87-
- Updates version in `fig/__init__.py`
87+
- Updates version in `compose/__init__.py`
8888
- Updates version in `docs/install.md`
8989
- Adds release notes to `CHANGES.md`
9090

9191
2. Create unpublished GitHub release with release notes
9292

9393
3. Build Linux version on any Docker host with `script/build-linux` and attach to release
9494

95-
4. Build OS X version on Mountain Lion with `script/build-osx` and attach to release as `fig-Darwin-x86_64` and `fig-Linux-x86_64`.
95+
4. Build OS X version on Mountain Lion with `script/build-osx` and attach to release as `docker-compose-Darwin-x86_64` and `docker-compose-Linux-x86_64`.
9696

9797
5. Publish GitHub release, creating tag
9898

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ RUN python setup.py install
1414

1515
RUN chown -R user /code/
1616

17-
ENTRYPOINT ["/usr/local/bin/fig"]
17+
ENTRYPOINT ["/usr/local/bin/docker-compose"]

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Fig
2-
===
1+
Docker Compose
2+
==============
33

44
[![wercker status](https://app.wercker.com/status/d5dbac3907301c3d5ce735e2d5e95a5b/s/master "wercker status")](https://app.wercker.com/project/bykey/d5dbac3907301c3d5ce735e2d5e95a5b)
55

@@ -29,9 +29,7 @@ db:
2929
3030
(No more installing Postgres on your laptop!)
3131
32-
Then type `fig up`, and Fig will start and run your entire app:
33-
34-
![example fig run](https://orchardup.com/static/images/fig-example-large.gif)
32+
Then type `docker-compose up`, and Compose will start and run your entire app.
3533

3634
There are commands to:
3735

ROADMAP.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
# Roadmap
22

3-
Fig will be incorporated as part of the Docker ecosystem and renamed Docker Compose. The command-line tool and configuration file will get new names, and its documentation will be moved to [docs.docker.com](https://docs.docker.com).
4-
53
## More than just development environments
64

7-
Over time we will extend Fig's remit to cover test, staging and production environments. This is not a simple task, and will take many incremental improvements such as:
5+
Over time we will extend Compose's remit to cover test, staging and production environments. This is not a simple task, and will take many incremental improvements such as:
86

9-
- Fig’s brute-force “delete and recreate everything” approach is great for dev and testing, but it not sufficient for production environments. You should be able to define a "desired" state that Fig will intelligently converge to.
7+
- Compose’s brute-force “delete and recreate everything” approach is great for dev and testing, but it not sufficient for production environments. You should be able to define a "desired" state that Compose will intelligently converge to.
108
- It should be possible to partially modify the config file for different environments (dev/test/staging/prod), passing in e.g. custom ports or volume mount paths. ([#426](https://github.com/docker/fig/issues/426))
11-
- Fig recommend a technique for zero-downtime deploys.
9+
- Compose should recommend a technique for zero-downtime deploys.
1210

1311
## Integration with Swarm
1412

15-
Fig should integrate really well with Swarm so you can take an application you've developed on your laptop and run it on a Swarm cluster.
13+
Compose should integrate really well with Swarm so you can take an application you've developed on your laptop and run it on a Swarm cluster.
1614

1715
## Applications spanning multiple teams
1816

19-
Fig works well for applications that are in a single repository and depend on services that are hosted on Docker Hub. If your application depends on another application within your organisation, Fig doesn't work as well.
17+
Compose works well for applications that are in a single repository and depend on services that are hosted on Docker Hub. If your application depends on another application within your organisation, Compose doesn't work as well.
2018

2119
There are several ideas about how this could work, such as [including external files](https://github.com/docker/fig/issues/318).
2220

2321
## An even better tool for development environments
2422

25-
Fig is a great tool for development environments, but it could be even better. For example:
23+
Compose is a great tool for development environments, but it could be even better. For example:
2624

27-
- [Fig could watch your code and automatically kick off builds when something changes.](https://github.com/docker/fig/issues/184)
25+
- [Compose could watch your code and automatically kick off builds when something changes.](https://github.com/docker/fig/issues/184)
2826
- It should be possible to define hostnames for containers which work from the host machine, e.g. “mywebcontainer.local”. This is needed by apps comprising multiple web services which generate links to one another (e.g. a frontend website and a separate admin webapp)

bin/docker-compose

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env python
2+
from compose.cli.main import main
3+
main()

bin/fig

Lines changed: 0 additions & 3 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)