forked from render-oss/docker-pgbouncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
99 lines (96 loc) · 2.32 KB
/
render.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
services:
- name: pgbouncer-prod-ssl-2
type: pserv
plan: pro
env: docker
numInstances: 1
autoDeploy: false
pullRequestPreviewsEnabled: false
envVars:
- fromGroup: pgbouncer
- key: DATABASE_URL
sync: false
- name: global-db-pgbouncer-ssl
type: pserv
plan: pro
env: docker
numInstances: 1
autoDeploy: false
pullRequestPreviewsEnabled: false
envVars:
- fromGroup: pgbouncer
- key: DATABASE_URL
sync: false
- name: eu-to-us-fdw-pgbouncer
type: pserv
plan: pro
env: docker
numInstances: 1
autoDeploy: false
pullRequestPreviewsEnabled: false
envVars:
- key: DATABASE_URL
sync: false
- key: DEFAULT_POOL_SIZE
value: 50
- key: MAX_CLIENT_CONN
value: 650
- key: MAX_DB_CONNECTIONS
value: 150
- key: MIN_POOL_SIZE
value: 25
- key: ADMIN_USERS
value: waterhead
- key: AUTH_FILE
value: /etc/secrets/userlist.txt
- key: CLIENT_TLS_CA_FILE
value: /etc/secrets/client.ca.crt
- key: CLIENT_TLS_CERT_FILE
value: /etc/secrets/client.tls.crt
- key: CLIENT_TLS_KEY_FILE
value: /etc/secrets/client.tls.key
- key: CLIENT_TLS_SSLMODE
value: require
- key: POOL_MODE
value: transaction
- key: PORT
value: 5432
- key: SERVER_RESET_QUERY
value: DISCARD ALL
- key: SERVER_TLS_SSLMODE
value: require
- key: STATS_USERS
value: datadog,opentelemetry_collector
envVarGroups:
- name: pgbouncer
envVars:
- key: ADMIN_USERS
value: waterhead
- key: AUTH_FILE
value: /etc/secrets/userlist.txt
- key: CLIENT_TLS_CA_FILE
value: /etc/secrets/client.ca.crt
- key: CLIENT_TLS_CERT_FILE
value: /etc/secrets/client.tls.crt
- key: CLIENT_TLS_KEY_FILE
value: /etc/secrets/client.tls.key
- key: CLIENT_TLS_SSLMODE
value: require
- key: DEFAULT_POOL_SIZE
value: 379
- key: MAX_CLIENT_CONN
value: 5000
- key: MAX_DB_CONNECTIONS
value: 379
- key: MIN_POOL_SIZE
value: 256
- key: POOL_MODE
value: transaction
- key: PORT
value: 5432
- key: SERVER_RESET_QUERY
value: DISCARD ALL
- key: SERVER_TLS_SSLMODE
value: require
- key: STATS_USERS
value: datadog,opentelemetry_collector