2020-02-29 00:43:59 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: PostgreSQL
|
|
|
|
parent: Storage backends
|
|
|
|
grand_parent: Configuration
|
2020-03-26 23:43:10 +00:00
|
|
|
nav_order: 3
|
2020-02-29 00:43:59 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# PostgreSQL
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
storage:
|
|
|
|
postgres:
|
|
|
|
host: 127.0.0.1
|
2020-04-11 02:38:57 +00:00
|
|
|
port: 5432
|
2020-02-29 00:43:59 +00:00
|
|
|
database: authelia
|
|
|
|
username: authelia
|
|
|
|
# This secret can also be set using the env variables AUTHELIA_STORAGE_POSTGRES_PASSWORD
|
|
|
|
password: mypassword
|
|
|
|
```
|