diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-19 22:48:25 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-19 22:48:25 +1100 |
commit | ec5807723be94a8b9945891a41d7ebb75555146f (patch) | |
tree | 981c80452b8c86d9269c7553914d7b85e7e85b22 /env-vars.md | |
parent | Reg tokens bypass other restrictions (diff) | |
download | server-ec5807723be94a8b9945891a41d7ebb75555146f.tar.xz |
Add back various docs/readme
Diffstat (limited to 'env-vars.md')
-rw-r--r-- | env-vars.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/env-vars.md b/env-vars.md new file mode 100644 index 00000000..42e8a027 --- /dev/null +++ b/env-vars.md @@ -0,0 +1,15 @@ +# Fosscord env vars: + +| Name | Value | Description | +| ---------------- | -------------- | --------------------------------------------------------------- | +| THREADS | number | Number of threads to run Fosscord on when using bundle. | +| PORT | number | Port to listen on | +| DATABASE | string | Database connection string. Defaults to SQlite3 at project root | +| CONFIG_PATH | string | File path for JSON config, if not using `config` db table | +| WS_LOGEVENTS | boolean | If set, log websocket events from gateway | +| CDN | string | Lowest priority value for public CDN annoucements | +| GATEWAY | string | Lowest priority value for public gateway annoucements | +| STORAGE_LOCATION | string | CDN storage location. File path or S3 bucktet | +| STORAGE_PROVIDER | "s3" or "file" | CDN storage provider | +| STORAGE_BUCKET | string | S3 bucket name | +| STORAGE_REGION | string | S3 storage region | |