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: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,16 +208,18 @@ If the repository receives updates and you want to apply them, follow these step
208
208
209
209
4. Start a new container using the updated image:
210
210
```bash
211
-
sudo docker run --env-file .env -d telegrambot-openai-api
211
+
sudo docker run --env-file .env --name telegrambot-openai-api -d telegrambot-openai-api
212
212
```
213
213
214
+
There is also a `docker_deploy.sh` script included that aims to make the rebuilding and deploying less of a hassle.
215
+
214
216
You should now have the TelegramBot-OpenAI-API running in a Docker container, fully connected to both Telegram and OpenAI. Enjoy your bot!
215
217
216
218
If you run into any issues, consult the logs or reach out on the repository's [Issues page](https://github.com/FlyingFathead/TelegramBot-OpenAI-API/issues).
217
219
218
220
---
219
221
220
-
# Updating
222
+
# Updating your `config.ini`
221
223
222
224
- Use the `configmerger.py` to update old configuration files into a newer version's `config.ini`. You can do this by saving a copy of your existing config to i.e. a file named `myconfig.txt` and including in it the lines you want to keep for the newer version.
0 commit comments