Skip to content

Commit 43102b3

Browse files
committed
Added in config from 6f32cc3 showing proper syntax for NotifyContainers in configuration file.
1 parent eabf082 commit 43102b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/docker-gen.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ notifycmd = "/etc/init.d/nginx reload"
88
template = "/etc/logrotate.conf.tmpl"
99
dest = "/etc/logrotate.d/docker"
1010
watch = true
11+
12+
[[config]]
13+
Template = "/etc/docker-gen/templates/nginx.tmpl"
14+
Dest = "/etc/nginx/conf.d/default.conf"
15+
watch = true
16+
[config.NotifyContainers]
17+
nginx = 1 # 1 is a signal number to be sent; here SIGINT
18+
e75a60548dc9 = 1 # a key can be either container name (nginx) or ID

0 commit comments

Comments
 (0)