1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-23 02:32:57 +01:00

Merge pull request #53 from fosscord/pr/962

docs for fosscord/fosscord-server#962
This commit is contained in:
Madeline 2023-01-22 13:41:52 +11:00 committed by GitHub
commit 3f44ebfe61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ You can set environment variables easily by creating an `.env` file
in the `fosscord-server` folder, with the format `NAME=VALUE` with each on new lines. in the `fosscord-server` folder, with the format `NAME=VALUE` with each on new lines.
| Name | Value | Description | | Name | Value | Description |
| ---------------- | -------------- | -------------------------------------------------------------------------------------------------------------------- | | -------------------------- | -------------- | -------------------------------------------------------------------------------------------------------------------- |
| THREADS | number | Number of threads to run Fosscord on when using bundle. Make sure you've enabled RabbitMQ if using more than one | | THREADS | number | Number of threads to run Fosscord on when using bundle. Make sure you've enabled RabbitMQ if using more than one |
| PORT | number | Port to listen on. Used by all components, including bundle. If using bundle, all components run under the same port | | PORT | number | Port to listen on. Used by all components, including bundle. If using bundle, all components run under the same port |
| DATABASE | string | Database connection string. Defaults to SQlite3 at project root | | DATABASE | string | Database connection string. Defaults to SQlite3 at project root |
@ -20,3 +20,4 @@ in the `fosscord-server` folder, with the format `NAME=VALUE` with each on new l
| STORAGE_BUCKET | string | S3 bucket name | | STORAGE_BUCKET | string | S3 bucket name |
| STORAGE_REGION | string | S3 storage region | | STORAGE_REGION | string | S3 storage region |
| ONLY_CACHE_JS | any | If set, [`npm run generate:client`](../npmScripts.md#generateclient) will only cache JS files. | | ONLY_CACHE_JS | any | If set, [`npm run generate:client`](../npmScripts.md#generateclient) will only cache JS files. |
| CLIENT_PATCH_INSTANCE_NAME | string | If set, [`npm run generate:client`](../npmScripts.md#generateclient) will use this as instance name. |