Update README and bump version

This commit is contained in:
Daniel Sockwell 2020-01-09 17:47:03 -05:00
parent 70ab9e066e
commit 94000e62a2
3 changed files with 5 additions and 2 deletions

2
Cargo.lock generated
View File

@ -404,7 +404,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "flodgatt"
version = "0.4.5"
version = "0.4.6"
dependencies = [
"criterion 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"dotenv 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,7 +1,7 @@
[package]
name = "flodgatt"
description = "A blazingly fast drop-in replacement for the Mastodon streaming api server"
version = "0.4.5"
version = "0.4.6"
authors = ["Daniel Long Sockwell <daniel@codesections.com", "Julian Laubstein <contact@julianlaubstein.de>"]
edition = "2018"

View File

@ -54,6 +54,9 @@ Note that the default values for the `postgres` connection do not correspond to
used in production. Thus, you will need to configure the connection either env vars or a `.env`
file if you intend to connect Flóðgátt to a production database.
If you set the `SOCKET` environmental variable, you must set the nginx `proxy_pass` variable to
the same socket (with the file prefixed by `http://unix:`).
Additionally, note that connecting Flóðgátt to Postgres with the `ident` method requires running
Flóðgátt as the user who owns the mastodon database (typically `mastodon`).