mirror of
https://github.com/docker/compose.git
synced 2025-07-28 16:14:06 +02:00
commit
e117a7822d
30
CHANGES.md
30
CHANGES.md
@ -1,6 +1,36 @@
|
|||||||
Change log
|
Change log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
0.5.0 (2014-07-11)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
- Fig now starts links when you run `fig run` or `fig up`.
|
||||||
|
|
||||||
|
For example, if you have a `web` service which depends on a `db` service, `fig run web ...` will start the `db` service.
|
||||||
|
|
||||||
|
- Environment variables can now be resolved from the environment that Fig is running in. Just specify it as a blank variable in your `fig.yml` and, if set, it'll be resolved:
|
||||||
|
```
|
||||||
|
environment:
|
||||||
|
RACK_ENV: development
|
||||||
|
SESSION_SECRET:
|
||||||
|
```
|
||||||
|
|
||||||
|
- `volumes_from` is now supported in `fig.yml`. All of the volumes from the specified services and containers will be mounted:
|
||||||
|
|
||||||
|
```
|
||||||
|
volumes_from:
|
||||||
|
- service_name
|
||||||
|
- container_name
|
||||||
|
```
|
||||||
|
|
||||||
|
- The `net` and `workdir` options are now supported in `fig.yml`.
|
||||||
|
- The `hostname` option now works in the same way as the Docker CLI, splitting out into a `domainname` option.
|
||||||
|
- TTY behaviour is far more robust, and resizes are supported correctly.
|
||||||
|
- Load YAML files safely.
|
||||||
|
|
||||||
|
Thanks to @d11wtq, @ryanbrainard, @rail44, @j0hnsmith, @binarin, @Elemecca and @mozz100 for their help with this release!
|
||||||
|
|
||||||
|
|
||||||
0.4.2 (2014-06-18)
|
0.4.2 (2014-06-18)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -54,6 +54,11 @@ expose:
|
|||||||
volumes:
|
volumes:
|
||||||
- cache/:/tmp/cache
|
- cache/:/tmp/cache
|
||||||
|
|
||||||
|
-- Mount all of the volumes from another service or container
|
||||||
|
volumes_from:
|
||||||
|
- service_name
|
||||||
|
- container_name
|
||||||
|
|
||||||
-- Add environment variables.
|
-- Add environment variables.
|
||||||
-- Environment variables with only a key are resolved to values on the host
|
-- Environment variables with only a key are resolved to values on the host
|
||||||
-- machine, which can be helpful for secret or host-specific values.
|
-- machine, which can be helpful for secret or host-specific values.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from .service import Service
|
from .service import Service
|
||||||
|
|
||||||
__version__ = '0.4.2'
|
__version__ = '0.5.0'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user