Skip to content

Commit 509f714

Browse files
committed
better docuemntation
1 parent f172d62 commit 509f714

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

crowdsec-docs/docs/configuration/values_parameters.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,21 @@ lapi:
107107
secretKeyRef:
108108
name: crowdsec-keys
109109
key: BOUNCER_KEY_ingress
110+
# The following piece configuration under config.config.yaml.local is merged
111+
# alongside the current documentation
112+
config.config.yaml.local:
113+
# Using a database is strongly encouraged.
114+
db_config:
115+
type: postgresql
116+
user: crowdsec
117+
password: "<password>" # one can use a environment variable as well
118+
db_name: crowdsec
119+
host: databases-psql-rw.databases-crowdsec.svc
120+
flush:
121+
bouncers_autodelete:
122+
api_key: 1h
123+
agents_autodelete:
124+
login_password: 1h
110125
```
111126
112127
# Values parameters reference

0 commit comments

Comments
 (0)