-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.yml
More file actions
41 lines (39 loc) · 846 Bytes
/
config.example.yml
File metadata and controls
41 lines (39 loc) · 846 Bytes
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
backends:
env:
type: env
prefix: MYPROJECT_
redis_live:
type: redis
host: localhost
templates:
- src: nginx-mysite.conf.j2
dest: mysite.conf
owner: nginx
mode: '0644'
check_cmd: /usr/sbin/nginx -t
restart_cmd: /usr/sbin/service nginx reload
vars: # Optional way of specifying variable source in config instead of the template
FQDN:
backend: redis_live
key: server/fqdn
logging:
version: 1
formatters:
tabbed:
format: "%(asctime)s\t%(name)s\t%(levelname)s\t%(message)s"
handlers:
console:
class: logging.StreamHandler
formatter: tabbed
level: DEBUG
loggers:
confp:
level: DEBUG
handlers:
- console
propagate: yes
confp.__main__:
level: DEBUG
handlers:
- console
propagate: no