Add SEARCH_DSN to example settings.py
authorCélestin Matte <gitlab@cmatte.me>
Fri, 22 Oct 2021 15:05:39 +0000 (17:05 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 19 Jan 2022 22:29:18 +0000 (23:29 +0100)
pgweb/settings.py

index 41323be48251753b7e621de1ed739eb44b9d9add..3f889a4227fc2ecc377ada0d163d51bf666b567c 100644 (file)
@@ -168,6 +168,7 @@ DO_ESI = False                                              # Generate ESI tags
 ARCHIVES_SEARCH_SERVER = "archives.postgresql.org"          # Where to post REST request for archives search
 ARCHIVES_SEARCH_PLAINTEXT = False                           # Contact ARCHIVES_SEARCH_SERVER with http instead of https
 ARCHIVES_FRONT_ADDRESS = "https://www.postgresql.org"       # Domain to read archives messages
+SEARCH_DSN = "dbname=pgsearch"                              # database for search, see tools/search/sql/README
 FRONTEND_SMTP_RELAY = "magus.postgresql.org"                # Where to relay user generated email
 OAUTH = {}                                                  # OAuth providers and keys
 PGDG_ORG_ID = -1                                            # id of the PGDG organisation entry