Document environment variables better :) (#5)

This commit is contained in:
Hazel
2023-04-09 17:42:04 +01:00
committed by GitHub
parent 10cc56d20b
commit 88d3cdc3fd
+2 -2
View File
@@ -13,9 +13,9 @@ up to you to manage.
- `REDIS_URI` should be changed to `redis:6379`.
- `ROOT_REDIRECT` should be changed to whatever you want the `/` of the API to be set to a different site,
like your own personal homepage.
- `DISCORD_*` should be configured with your Discord application.
- `DISCORD_*` should be configured with your Discord application. The redirect URI is `https://<yourdomain>/v1/oauth/callback`.
- `PEPPER_*` should be unique values. These provide extra anonymity and make it more difficult to get user
info.
info. It [is recommended](https://stackoverflow.com/a/9622855) you use at least 32 bytes of randomness, e.g. through `openssl rand 32 -hex`.
- `SIZE_LIMIT` is up to you, but should usually be left as default. This is for the settings sync and how
much data a user can store.
4. Create a `docker-compose.override.yml` that maps your ports, like so: