With docker 1.10 stack file version 2 will be available.
Hopefully it could be written with additional keys like:
stack:
namespace: example
environments:
- production
- staging
services:
...
So it could be used instead of magic line:
# {"namespace": "example", "environments": ["staging", "production"]}
With
docker 1.10stack file version 2 will be available.Hopefully it could be written with additional keys like:
So it could be used instead of magic line: