File tree 3 files changed +15
-4
lines changed 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
1
v0.1.0, 2015-06-06 -- Initial release.
2
2
v0.1.1, 2015-06-10 -- Make meta-compose-data.yml optional
3
3
v0.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
4
4
docker-compose files by parsing them as [ Jinja2] ( http://jinja.pocoo.org/ )
5
5
template.
6
6
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 )
8
9
9
10
It supports variable declaration in a separate YAML file as well as
10
11
access to environment variables.
11
12
12
- ## Usage :
13
+ ## Quickstart :
13
14
14
15
- Install with ` pip install meta-compose `
15
16
@@ -22,14 +23,22 @@ access to environment variables.
22
23
- Call ` meta-compose ` and it will create a docker-compose.yml in the current
23
24
directory
24
25
26
+ ## Usage
27
+
25
28
```
26
- usage: meta-compose [-h] [-d DATAFILE]
29
+ usage: meta-compose [-h] [-d DATAFILE] [-t TEMPLATE] [-o OUTPUTFILE]
27
30
28
31
optional arguments:
29
32
-h, --help show this help message and exit
30
33
-d DATAFILE, --datafile DATAFILE
31
34
Use to specify data files in addition to meta-compose-
32
35
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
33
42
```
34
43
35
44
## 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