projects
/
awful.systems.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6163bc5
)
docs: add database information
main
author
self
<self@awful.systems>
Mon, 21 Aug 2023 20:47:55 +0000
(13:47 -0700)
committer
self
<self@awful.systems>
Mon, 21 Aug 2023 20:47:55 +0000
(13:47 -0700)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/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.
- `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.