File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11v0.1.0, 2015-06-06 -- Initial release.
22v0.1.1, 2015-06-10 -- Make meta-compose-data.yml optional
33v0.1.2, 2015-07-13 -- Allow multiple data files
4+ v0.1.3, 2015-07-14 -- Make template and output files configurable, fixed bug
5+ that made it fail when no data file was specified
Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ This package aims to solve the problem of variable substitution in
44docker-compose files by parsing them as [ Jinja2] ( http://jinja.pocoo.org/ )
55template.
66
7- It was inspired by the discussion [ here] ( https://github.com/docker/compose/issues/1377 )
7+ It was inspired by the discussion
8+ [ here] ( https://github.com/docker/compose/issues/1377 )
89
910It supports variable declaration in a separate YAML file as well as
1011access to environment variables.
1112
12- ## Usage :
13+ ## Quickstart :
1314
1415- Install with ` pip install meta-compose `
1516
@@ -22,14 +23,22 @@ access to environment variables.
2223- Call ` meta-compose ` and it will create a docker-compose.yml in the current
2324 directory
2425
26+ ## Usage
27+
2528```
26- usage: meta-compose [-h] [-d DATAFILE]
29+ usage: meta-compose [-h] [-d DATAFILE] [-t TEMPLATE] [-o OUTPUTFILE]
2730
2831optional arguments:
2932 -h, --help show this help message and exit
3033 -d DATAFILE, --datafile DATAFILE
3134 Use to specify data files in addition to meta-compose-
3235 data.yml. They must be JSON or YAML files.
36+ -t TEMPLATE, --template TEMPLATE
37+ Use to specify the template file to use. Defaults to
38+ ./meta-compose.yml
39+ -o OUTPUTFILE, --outputfile OUTPUTFILE
40+ Use to specify the output file to create. Defaults to
41+ ./docker-compose.yml
3342```
3443
3544## Syntax of meta-compose.yml
Original file line number Diff line number Diff line change 1- __version__ = '0.1.2 '
1+ __version__ = '0.1.3 '
You can’t perform that action at this time.
0 commit comments