The PostgreSQL storage provider.
storage: postgres: host: 127.0.0.1 port: 5432 database: authelia username: authelia password: mypassword sslmode: disable
The database server host.
If utilising an IPv6 literal address it must be enclosed by square brackets and quoted:
The port the database server is listening on.
The database name on the database server that the assigned user has access to for the purpose of Authelia.
The username paired with the password used to connect to the database.
The password paired with the username used to connect to the database. Can also be defined using a secret which is also the recommended way when running as a container.
The SQL connection timeout.
SSL mode configures how to handle SSL connections with Postgres. Valid options are ‘disable’, ‘require’, ‘verify-ca’, or ‘verify-full’. See the PostgreSQL Documentation or pgx - PostgreSQL Driver and Toolkit Documentation for more information.