File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Attributes are used to set default values only.
39
39
40
40
| Key | Default |
41
41
| :------------------------------------| :---------|
42
- | ` ['ama-docker-compose']['version'] ` | ` 1.12.0 ` |
42
+ | ` ['ama-docker-compose']['version'] ` | ` 1.16.1 ` |
43
43
44
44
## Recipes
45
45
@@ -84,6 +84,12 @@ Examples:
84
84
docker_compose_deployment ' /srv/router/docker-compose.yml'
85
85
```
86
86
87
+ ``` ruby
88
+ docker_compose_deployment ' /srv/router/docker-compose.yml' do
89
+ environment({COMPOSE_PROJECT_NAME: ' my_custom_name' })
90
+ end
91
+ ```
92
+
87
93
``` ruby
88
94
docker_compose_deployment ' router' do
89
95
executable ' /usr/local/bin/docker-compose'
@@ -111,6 +117,7 @@ Attributes:
111
117
| ` shell_timeout ` | Integer / Nil | ` 300 ` | Timeout for any underlying command to prevent infinite stalling |
112
118
| ` signal ` | String | ` SIGKILL ` | Signal for kill command |
113
119
| ` scale ` | String | | Arguments for docker-compose scale command e.g. ` nginx=2 ` |
120
+ | ` environment ` | Hash / Nil | ` {} ` | Arbitrary environment variables to be passed to docker-compose call
114
121
115
122
Available actions are:
116
123
You can’t perform that action at this time.
0 commit comments