You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/configuration/auth/overview.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
title: Overview
3
3
---
4
4
5
+
<Warning>If you're deploying Sourcebot behind a domain, you must set the [AUTH_URL](/docs/configuration/environment-variables) environment variable.</Warning>
6
+
5
7
Sourcebot has built-in authentication that gates access to your organization. OAuth, email codes, and email / password are supported.
6
8
7
9
The first account that's registered on a Sourcebot deployment is made the owner. All other users who register must be [approved](/docs/configuration/auth/overview#approving-new-members) by the owner.
@@ -40,8 +42,6 @@ See [transactional emails](/docs/configuration/transactional-emails) for more de
40
42
41
43
## Enterprise Authentication Providers
42
44
43
-
<Warning>If you're deploying Sourcebot behind a domain, you must set the [AUTH_URL](/docs/configuration/environment-variables) environment variable to use these providers.</Warning>
44
-
45
45
The following authentication providers require an [enterprise license](/docs/license-key) to be enabled.
46
46
47
47
By default, a new user registering using these providers must have their join request accepted by the owner of the organization to join. To allow a user to join automatically when
Copy file name to clipboardExpand all lines: docs/docs/configuration/auth/roles-and-permissions.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
2
title: Roles and Permissions
3
+
sidebarTitle: Roles and permissions
3
4
---
4
5
5
6
<Note>Looking to sync permissions with your identify provider? We're working on it - [reach out](https://www.sourcebot.dev/contact) to us to learn more</Note>
Copy file name to clipboardExpand all lines: docs/docs/configuration/environment-variables.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ The following environment variables allow you to configure your Sourcebot deploy
27
27
|`SMTP_CONNECTION_URL`|`-`| <p>The url to the SMTP service used for sending transactional emails. See [this doc](/docs/configuration/transactional-emails) for more info.</p> |
28
28
|`SOURCEBOT_ENCRYPTION_KEY`| Automatically generated at startup if no value is provided. Generated using `openssl rand -base64 24`| <p>Used to encrypt connection secrets and generate API keys.</p> |
29
29
|`SOURCEBOT_LOG_LEVEL`|`info`| <p>The Sourcebot logging level. Valid values are `debug`, `info`, `warn`, `error`, in order of severity.</p> |
30
+
|`SOURCEBOT_STRUCTURED_LOGGING_ENABLED`|`false`| <p>Enables/disable structured JSON logging. See [this doc](/docs/configuration/structured-logging) for more info.</p> |
31
+
|`SOURCEBOT_STRUCTURED_LOGGING_FILE`| - | <p>Optional file to log to if structured logging is enabled</p> |
30
32
|`SOURCEBOT_TELEMETRY_DISABLED`|`false`| <p>Enables/disables telemetry collection in Sourcebot. See [this doc](/docs/overview.mdx#telemetry) for more info.</p> |
31
33
|`TOTAL_MAX_MATCH_COUNT`|`100000`| <p>The maximum number of matches per query</p> |
32
34
|`ZOEKT_MAX_WALL_TIME_MS`|`10000`| <p>The maximum real world duration (in milliseconds) per zoekt query</p> |
By default, Sourcebot will output logs to the console in a human readable format. If you'd like Sourcebot to output structured JSON logs, set the following env vars:
6
+
7
+
-`SOURCEBOT_STRUCTURED_LOGGING_ENABLED` (default: `false`): Controls whether logs are in a structured JSON format
8
+
-`SOURCEBOT_STRUCTURED_LOGGING_FILE`: If structured logging is enabled and this env var is set, structured logs will be written to this file (ex. `/data/sourcebot.log`)
Copy file name to clipboardExpand all lines: docs/docs/connections/overview.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ A JSON configuration file is used to specify connections. For example:
43
43
44
44
Configuration files must conform to the [JSON schema](#schema-reference).
45
45
46
-
When running Sourcebot, this file must be mounted in a volume that is accessible to the container, with it's path specified in the `CONFIG_PATH` environment variable. For example:
46
+
When running Sourcebot, this file must be mounted in a volume that is accessible to the container, with its path specified in the `CONFIG_PATH` environment variable. For example:
Copy file name to clipboardExpand all lines: docs/docs/deployment-guide.mdx
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,9 @@ Watch this 1:51 minute video to get a quick overview of how to deploy Sourcebot
53
53
</Step>
54
54
55
55
<Steptitle="Launch your instance">
56
+
<Warning>If you're deploying Sourcebot behind a domain, you must set the [AUTH_URL](/docs/configuration/environment-variables) environment variable.</Warning>
57
+
58
+
56
59
In the same directory as `config.json`, run the following command to start your instance:
0 commit comments