Tag plugins
Two kinds of plugins
There are two kinds of plugins:
- a docker-compose:
docker-compose.<tag_name>.ymlYAML file - a jsonnet script:
<tag_name>.jsonnetjsonnet file
A plugin can be used for:
- Providing extra variables
- Transform docker-compose final file
How to choose between both?
| docker-compose | jsonnet | |
|---|---|---|
| Pros |
|
|
| Cons |
|
|
See how to create plugins for further infos.
docker-compose tag
This is the easiest and simplest form of modularity to use. Just create
your docker-compose.<tag_name>.yml fragments, like explained
here.
Documenting Plugins
TODO: jsonschema
Test and debug Plugins
TODO: Add features to support plugin development
Jsonnet tag
This is a full turing compliant language avaialable to modify the docker-compose internal structure. Jsonnet language is documented here
Documenting Plugins
TODO: jsonschema
Test and debug Plugins
TODO: Add features to support plugin development