-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eeb2c5e
commit 1e5db4d
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Once you start deploying to a cloud, you may end up having to publicly expose your backend and frontend to the internet. In this case you will need to disable the admin mode on the deployed components. | ||
|
||
Just deploy with the `ADMIN_MODE` env var as disabled. This could be in your Dockerfile, or any other deployment config. | ||
```shell | ||
ADMIN_MODE=0 | ||
``` | ||
|
||
This will disable the signup endpoint, preventing people stumbling upon the API from creating an account and using your LLM tokens. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters