mirror of
https://github.com/matrixgpt/matrix-chatgpt-bot.git
synced 2024-09-28 20:15:56 +00:00
Add documentation for Docker.
This commit is contained in:
parent
0175a09e33
commit
518519c30c
10
README.md
10
README.md
@ -17,7 +17,6 @@ You should not be using this ChatGPT account while the bot is using it, because
|
|||||||
|
|
||||||
If your OpenAI account uses Google Auth, you shouldn't encounter any of the more complicated Recaptchas — and can avoid using paid third-party CAPTCHA solving providers. To use Google auth, make sure your OpenAI account is using Google and then set IS_GOOGLE_LOGIN to true.
|
If your OpenAI account uses Google Auth, you shouldn't encounter any of the more complicated Recaptchas — and can avoid using paid third-party CAPTCHA solving providers. To use Google auth, make sure your OpenAI account is using Google and then set IS_GOOGLE_LOGIN to true.
|
||||||
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
- Create an unencrypted room
|
- Create an unencrypted room
|
||||||
- Add the bot
|
- Add the bot
|
||||||
@ -56,5 +55,14 @@ MATRIX_BOT_PASSWORD=
|
|||||||
- `yarn build`
|
- `yarn build`
|
||||||
- `yarn start`
|
- `yarn start`
|
||||||
|
|
||||||
|
## Running with Docker
|
||||||
|
|
||||||
|
```
|
||||||
|
docker build . -t matrix-chatgpt-bot
|
||||||
|
docker run --cap-add=SYS_ADMIN -it matrix-chatgpt-bot
|
||||||
|
```
|
||||||
|
|
||||||
|
Note: Without -it flags in the command above you won't be able to stop the container using Ctrl-C
|
||||||
|
|
||||||
# License
|
# License
|
||||||
GNU AGPLv3. See LICENSE
|
GNU AGPLv3. See LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user