]> Untitled Git - awful.systems.git/commitdiff
docs: add database information main
authorself <self@awful.systems>
Mon, 21 Aug 2023 20:47:55 +0000 (13:47 -0700)
committerself <self@awful.systems>
Mon, 21 Aug 2023 20:47:55 +0000 (13:47 -0700)
README.md

index c185d4ac1e6efb4bd8a2e37467b84fb63bf0fb0d..8c1e2c4dc7269ac122ab11c2f60bae8e7ec67b0b 100644 (file)
--- 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.