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
132
132
133
133
#### Configuration File Syntax
134
134
```
135
- *** [[config]]***
135
+ [[config]]
136
136
Starts a configuration section
137
137
138
- ** dest = "path/to/a/file"**
138
+ dest = "path/to/a/file"
139
139
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"
141
142
run command after template is regenerated (e.g restart xyz)
142
- **onlyexposed = true**
143
+
144
+ onlyexposed = true
143
145
only include containers with exposed ports
144
- **template = "/path/to/a/template/file.tmpl"**
146
+
147
+ template = "/path/to/a/template/file.tmpl"
145
148
path to a template to generate
146
- **watch = true**
149
+
150
+ watch = true
147
151
watch for container changes
148
152
149
153
150
154
151
- *** [config.NotifyContainers]***
155
+ [config.NotifyContainers]
152
156
Starts a notify container section
153
157
154
- ** containername = 1**
158
+ containername = 1
155
159
container name followed by the signal to send
156
- **container_id = 1**
160
+
161
+ container_id = 1
157
162
or the container id can be used followed by the signal to send
158
163
```
159
164
Putting it all together here is an example configuration file.
You can’t perform that action at this time.
0 commit comments