mirror of
https://github.com/matrixgpt/matrix-chatgpt-bot.git
synced 2024-09-27 19:45:38 +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.
|
||||
|
||||
|
||||
# Usage
|
||||
- Create an unencrypted room
|
||||
- Add the bot
|
||||
@ -56,5 +55,14 @@ MATRIX_BOT_PASSWORD=
|
||||
- `yarn build`
|
||||
- `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
|
||||
GNU AGPLv3. See LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user