faradayio / cage

Develop and deploy complex Docker applications
http://cage.faraday.io
Apache License 2.0
307 stars 26 forks source link

why db.yml vs. db.metadata.yml? #42

Closed seamusabshere closed 7 years ago

seamusabshere commented 7 years ago

Is it just anything that is not docker-compose v2 standard must go in metadata?

emk commented 7 years ago

Yes. See https://github.com/faradayio/cage/issues/28 for an explanation with links to upstream bugs, etc.

We're really determined to use standard docker-compose.yml files, which specifically forbid non-standard, pod-level metadata, and there are unit tests to make sure that docker-compose will refuse to run if any such metadata is present.

seamusabshere commented 7 years ago

is this explained in the docs?

emk commented 7 years ago

Docs? Yes, those would be good. ;-) We'll write a FAQ at some point and add it.

seamusabshere commented 7 years ago

attempting to fix in https://github.com/faradayio/cage/pull/46