ab45e3d398
Added support for `env_file` which can be single file or a list of files. Use special input 'env_files' for the env_files. These files will be created by the hook relative to the compose project directory. if 'env_file' entries in 'docker-compose.yml' do not exist in the `input_values` supplied, docker-compose will throw an error as it can't find these files. Change-Id: I0dbe80e8c8c56cc680f8ee86b4f34cf3d27533c4 |
||
---|---|---|
.. | ||
install.d | ||
os-refresh-config/configure.d | ||
README.rst | ||
element-deps |
README.rst
A hook which uses docker-compose to deploy containers.
A special input 'env_files' can be used with SoftwareConfig and StructuredConfig for docker-compose env_file key(s).
if env_file keys specified in the docker-compose.yml, do not exist in input_values supplied, docker-compose will throw an error, as it can't find these files.
Also, -Pf option can be used to pass env files from client.
Example:
$ heat stack-create test_stack -f example-docker-compose-template.yaml -Pf env_file_0=./common.env -Pf env_file_1=./apps/web.env -Pf env_file_2=./test.env -Pf env_file_3=./busybox.env