summaryrefslogtreecommitdiff
path: root/hot/software-config/elements/heat-config-docker-compose/README.rst
blob: 1aab252273522f1d86bdd10bf3b43f0d0c64f0b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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, `--parameter-file` option can be used to pass env files from client.

Example:

$ openstack stack create test_stack -t example-docker-compose-template.yaml \
    --parameter-file env_file_0=./common.env \
    --parameter-file env_file_1=./apps/web.env \
    --parameter-file env_file_2=./test.env \
    --parameter-file env_file_3=./busybox.env