comparison tests/data/conf20.yml @ 105:1c2f8a96dec2

Unittests with some real-worl-examples of .yml and .ini configuration files
author Franz Glasner <f.glasner@feldmann-mg.com>
date Fri, 23 Mar 2018 17:43:36 +0100
parents
children 057d87d030f1
comparison
equal deleted inserted replaced
104:d9f9a06e0c49 105:1c2f8a96dec2
1 # -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-
2 #
3 # For testing: merge with conf21.yml
4 #
5 %YAML 1.1
6 ---
7
8 process:
9 umask: 0o0027
10
11 intl:
12 domain: test-configmix
13 localedir: '{{appdir}}/locale'
14 fallback: de
15 cache:
16 items: 10
17
18
19 db:
20 user:
21 name: <My Username>
22 pwd: <My Password>
23
24 catalog: <MyDbName>
25
26 locinfo:
27 rw:
28 hostname: localhost
29 port: 5432
30
31 ro:
32 hostname: localhost
33 port: 5432
34
35 engines:
36 rw:
37 url: 'postgresql+psycopg2://{{db.user.name|urlquote}}:{{db.user.pwd|urlquote}}@{{db.locinfo.rw.hostname}}:{{db.locinfo.rw.port}}/{{db.catalog|urlquote}}'
38 encoding: utf-8
39 isolation_level: 'SERIALIZABLE'
40 echo: false
41 echo_pool: false
42
43 ro:
44 url: 'postgresql+psycopg2://{{db.user.name|urlquote}}:{{db.user.pwd|urlquote}}@{{db.locinfo.ro.hostname}}:{{db.locinfo.ro.port}}/{{db.catalog|urlquote}}'
45 encoding: utf-8
46 isolation_level: 'SERIALIZABLE'
47 echo: false
48 echo_pool: false
49 is_readonly: true
50
51 msg:
52 url: 'postgresql+psycopg2://{{db.user.name|urlquote}}:{{db.user.pwd|urlquote}}@{{db.locinfo.rw.hostname}}:{{db.locinfo.rw.port}}/{{db.catalog|urlquote}}'
53 encoding: utf-8
54 isolation_level: 'SERIALIZABLE'
55 echo: false
56 echo_pool: false
57
58 mandant:
59 url: 'postgresql+psycopg2://{{db.user.name|urlquote}}:{{db.user.pwd|urlquote}}@{{db.locinfo.ro.hostname}}:{{db.locinfo.ro.port}}/{{db.catalog|urlquote}}'
60 encoding: utf-8
61 isolation_level: 'REPEATABLE_READ'
62 echo: false
63 echo_pool: false
64 is_readonly: true
65
66 session:
67 url: 'postgresql+psycopg2://{{db.user.name|urlquote}}:{{db.user.pwd|urlquote}}@{{db.locinfo.rw.hostname}}:{{db.locinfo.rw.port}}/{{db.catalog|urlquote}}'
68 encoding: utf-8
69 isolation_level: 'REPEATABLE_READ'
70 echo: false
71 echo_pool: false
72
73
74 wsgi:
75 debug: false
76
77 debugger:
78 type: werkzeug
79 params:
80 evalex: true
81
82 profile: false
83
84 profiler:
85 type: werkzeug
86 params:
87 #stream: sys:stderr
88 profile_dir: '{{tmpdir}}/profiler'
89 #sort_by: ['time', 'calls']
90 #restrictions=(),