File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -132,28 +132,33 @@ An example configuration file, **docker-gen.cfg** can be found in the examples f
132132
133133#### Configuration File Syntax
134134```
135- *** [[config]]***
135+ [[config]]
136136 Starts a configuration section
137137
138- ** dest = "path/to/a/file"**
138+ dest = "path/to/a/file"
139139 path to a write the template. If not specfied, STDOUT is used
140- **notifycmd = "/etc/init.d/foo reload"**
140+
141+ notifycmd = "/etc/init.d/foo reload"
141142 run command after template is regenerated (e.g restart xyz)
142- **onlyexposed = true**
143+
144+ onlyexposed = true
143145 only include containers with exposed ports
144- **template = "/path/to/a/template/file.tmpl"**
146+
147+ template = "/path/to/a/template/file.tmpl"
145148 path to a template to generate
146- **watch = true**
149+
150+ watch = true
147151 watch for container changes
148152
149153
150154
151- *** [config.NotifyContainers]***
155+ [config.NotifyContainers]
152156 Starts a notify container section
153157
154- ** containername = 1**
158+ containername = 1
155159 container name followed by the signal to send
156- **container_id = 1**
160+
161+ container_id = 1
157162 or the container id can be used followed by the signal to send
158163```
159164Putting it all together here is an example configuration file.
You can’t perform that action at this time.
0 commit comments