From: self <self@awful.systems>
Date: Mon, 21 Aug 2023 20:47:55 +0000 (-0700)
Subject: docs: add database information
X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%7B%60%24%7BghostArchiveUrl%7D/search?a=commitdiff_plain;h=HEAD;p=awful.systems.git

docs: add database information
---

diff --git a/README.md b/README.md
index c185d4a..8c1e2c4 100644
--- a/README.md
+++ b/README.md
@@ -78,3 +78,12 @@ your chosen log monitoring software.
 - `lemmy-ui-prod`: The Web frontend to the production Lemmy server.
 - `lemmy-dev`: The development Lemmy server.
 - `lemmy-ui-dev`: The Web frontend to the development Lemmy server.
+
+## Databases
+
+- For development, the database user is `lemmy_dev` and the Postgres database is
+  `lemmy_dev` on `these.awful.systems`. Use `sudo -u lemmy_dev psql` on that
+  host to access the database. 
+- For production, the database user is `lemmy` and the Postgres database is
+  `lemmy` on `more.awful.systems`. Use `sudo -u lemmy_dev psql` on that host to
+  access the database.