mirror of
https://github.com/docker/compose.git
synced 2025-08-17 07:38:12 +02:00
Define a schema that we can pass to jsonschema to validate against the config a user has supplied. This will help catch a wide variety of common errors that occur. If the config does not pass schema validation then it raises an exception and prints out human readable reasons. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
18 lines
274 B
YAML
18 lines
274 B
YAML
myweb:
|
|
extends:
|
|
file: specify-file-as-self.yml
|
|
service: web
|
|
environment:
|
|
- "BAR=1"
|
|
web:
|
|
extends:
|
|
file: specify-file-as-self.yml
|
|
service: otherweb
|
|
image: busybox
|
|
environment:
|
|
- "BAZ=3"
|
|
otherweb:
|
|
image: busybox
|
|
environment:
|
|
- "YEP=1"
|