Skip to content

Commit 29e2c9a

Browse files
committed
Document config.version
1 parent c056c6f commit 29e2c9a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

2.0/docs/services/template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,7 @@ configs:
10511051
title: Main
10521052
filepath: /etc/gotpl/config/nginx.conf.tmpl
10531053
config: nginx.conf.tmpl
1054+
version: 1.29
10541055
- name: vhost
10551056
title: Virtual host
10561057
filepath: /etc/gotpl/vhost.conf.tmpl
@@ -1081,6 +1082,12 @@ Type: `string`.
10811082

10821083
Filepath to the default config file in a service's repository.
10831084

1085+
#### `configs.[].version`
1086+
1087+
Type: `string`.
1088+
1089+
Optional, specify to each version of the service to apply this config, must be one of the `options.[].version` values.
1090+
10841091
### `cron`
10851092

10861093
Collection of [cron schedules](cron.md).

0 commit comments

Comments
 (0)