Skip to content

Commit

Permalink
Docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingFathead committed Oct 5, 2024
1 parent 4862fd3 commit f5e88a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,18 @@ If the repository receives updates and you want to apply them, follow these step
4. Start a new container using the updated image:
```bash
sudo docker run --env-file .env -d telegrambot-openai-api
sudo docker run --env-file .env --name telegrambot-openai-api -d telegrambot-openai-api
```
There is also a `docker_deploy.sh` script included that aims to make the rebuilding and deploying less of a hassle.
You should now have the TelegramBot-OpenAI-API running in a Docker container, fully connected to both Telegram and OpenAI. Enjoy your bot!
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).

---

# Updating
# Updating your `config.ini`

- 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.
Expand Down

0 comments on commit f5e88a7

Please sign in to comment.