Skip to content

Commit f5e88a7

Browse files
committed
Docker setup
1 parent 4862fd3 commit f5e88a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,18 @@ If the repository receives updates and you want to apply them, follow these step
208208

209209
4. Start a new container using the updated image:
210210
```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
212212
```
213213

214+
There is also a `docker_deploy.sh` script included that aims to make the rebuilding and deploying less of a hassle.
215+
214216
You should now have the TelegramBot-OpenAI-API running in a Docker container, fully connected to both Telegram and OpenAI. Enjoy your bot!
215217

216218
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).
217219

218220
---
219221

220-
# Updating
222+
# Updating your `config.ini`
221223

222224
- 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.
223225

0 commit comments

Comments
 (0)