@@ -133,33 +133,33 @@ An example configuration file, **docker-gen.cfg** can be found in the examples f
133
133
#### Configuration File Syntax
134
134
```
135
135
[[config]]
136
- Starts a configuration section
136
+ Starts a configuration section
137
137
138
138
dest = "path/to/a/file"
139
- path to a write the template. If not specfied, STDOUT is used
139
+ path to a write the template. If not specfied, STDOUT is used
140
140
141
141
notifycmd = "/etc/init.d/foo reload"
142
- run command after template is regenerated (e.g restart xyz)
142
+ run command after template is regenerated (e.g restart xyz)
143
143
144
144
onlyexposed = true
145
- only include containers with exposed ports
145
+ only include containers with exposed ports
146
146
147
147
template = "/path/to/a/template/file.tmpl"
148
- path to a template to generate
148
+ path to a template to generate
149
149
150
150
watch = true
151
- watch for container changes
151
+ watch for container changes
152
152
153
153
154
154
155
155
[config.NotifyContainers]
156
- Starts a notify container section
156
+ Starts a notify container section
157
157
158
158
containername = 1
159
- container name followed by the signal to send
159
+ container name followed by the signal to send
160
160
161
161
container_id = 1
162
- or the container id can be used followed by the signal to send
162
+ or the container id can be used followed by the signal to send
163
163
```
164
164
Putting it all together here is an example configuration file.
165
165
```
0 commit comments