-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Docker Compose roadmap #765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Roadmap | ||
|
|
||
| ## Fig 1.1 | ||
|
|
||
| - All this cool stuff: https://github.com/docker/fig/issues?q=milestone%3A1.1.0+ | ||
|
|
||
| ## Compose 1.2 | ||
|
|
||
| - Project-wide rename and rebrand to Docker Compose, with new names for the command-line tool and configuration file | ||
| - Version specifier in configuration file | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe this implies the config format will be changing as well (to support the version field) ? |
||
| - A “fig watch” command which automatically kicks off builds while editing code | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: This should probably be "compose watch"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're not sure what the binaries are going to be called yet. See docker-archive-public/docker.machine#2 |
||
| - It should be possible to somehow define hostnames for containers which work from the host machine, e.g. “mywebcontainer.local”. This is needed by e.g. apps comprising multiple web services which generate links to one another (e.g. a frontend website and a separate admin webapp) | ||
| - A way to share config between apps ([#318](https://github.com/docker/fig/issues/318)) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice! my first draft of something like this is up at #758 |
||
|
|
||
| ## Future | ||
|
|
||
| - Fig uses Docker container names to separate and identify containers in different apps and belonging to different services within apps; this should really be done in a less hacky and more performant way, by attaching metadata to containers and doing the filtering on the server side. **This requires changes to the Docker daemon.** | ||
| - The config file should be parameterisable so that config can be partially modified 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)) | ||
| - Fig’s brute-force “delete and recreate everything” approach is great for dev and testing, and with manual command-line scoping can be made to work in production (e.g. “fig up -d web” will update *just* the web service), but a smarter solution is needed, its logic probably based around convergence from “current” to “desired” app state. | ||
| - Compose should recommend a simple technique for zero-downtime deploys. This will likely involve new Docker networking methods that allow for a load balancer container to be dynamically hooked up to new app containers and disconnected from old ones. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this is quite a big change, should this bump the major version? I understand the API itself will mostly be the same, but still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be semvar about it, we should probably bump the major version if there are backwards incompatible changes. Though even not, you're right, it does feel like it warrants a major update.
Either way, this can be changed. I suppose we can think of this as Fig versions N+1 and N+2 ;)