File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -135,23 +135,30 @@ An example configuration file, **docker-gen.cfg** can be found in the examples f
135135*** [[ config]] ***
136136  ;  ;  ;  ; Starts a configuration section
137137
138+
138139** dest = "path/to/a/file"**
139140  ;  ;  ;  ; path to a write the template. If not specfied, STDOUT is used
141+
140142** notifycmd = "/etc/init.d/foo reload"**
141143  ;  ;  ;  ; run command after template is regenerated (e.g restart xyz)
144+
142145** onlyexposed = true**
143146  ;  ;  ;  ; only include containers with exposed ports
144147** template = "/path/to/a/template/file.tmpl"**
145148  ;  ;  ;  ; path to a template to generate
149+
146150** watch = true**
147151  ;  ;  ;  ; watch for container changes
148152
149153
154+
150155*** [ config.NotifyContainers] ***
151156  ;  ;  ;  ; Starts a notify container section
152157
158+
153159** containername = 1**
154160  ;  ;  ;  ; container name followed by the signal to send
161+
155162** container_id = 1**
156163  ;  ;  ;  ; or the container id can be used followed by the signal to send
157164
You can’t perform that action at this time.
0 commit comments