-
Notifications
You must be signed in to change notification settings - Fork 6
/
vars.prod.yml
48 lines (41 loc) · 1.19 KB
/
vars.prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
svcs:
- name: colorcodebot
enabled: true
exec: >-
sops exec-env
sops/colorcodebot.prod.yml
"execlineb -P -c '
backtick HOME { homeof colorcodebot }
s6-setuidgid colorcodebot
./venv/bin/python ./colorcodebot.py
'"
folder:
run: ../../
log: ../../../logs/colorcodebot
- name: papertrail
enabled: true
exec: >-
sops exec-file --filename log_files.yml
../log_files.prod.yml
"remote_syslog -D -c {}"
folder:
run: log
log: ../../../logs/papertrail
sops_templates:
- src: papertrail.log_files.yml.wz
dest: log_files.prod.yml
# Minimal disabled svc:
# - name: svc-name-without-spaces
# enabled: false
# Minimal enabled svc:
# - name: svc-name-without-spaces
# enabled: true
# exec: long-running-command
# folder:
# log: path/to/log/dir
# Paths:
# - svcs.*.exec is run from svcs.*.folder.run if provided, otherwise its svcdir
# - svcs.*.folder.run is interpreted from the svcdir
# - svcs.*.folder.log is interpreted from <the svcdir>/log
# - svcs.*.sops_templates.src is implicitly prefixed with REPO/templates/
# - svcs.*.sops_templates.dest is implicitly prefixed with <the svcdir>