Skip to content

Commit 429b7bd

Browse files
committed
Updating formating on docs.
1 parent 4d03261 commit 429b7bd

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff 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
```
159164
Putting it all together here is an example configuration file.

0 commit comments

Comments
 (0)