diff options
| author | seth <[email protected]> | 2023-01-10 05:33:22 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-10 05:33:22 +0000 |
| commit | fe4a7ce2ee7b7ca82b93db1b84774da4e7fa9e28 (patch) | |
| tree | d2c769442e96e4d4bebb4994b06fce07324cede0 | |
| parent | 7d5d8c54ef4b5010fcf1200fa9de0148e4a9a9a0 (diff) | |
feat: add instructions for self hosting
| -rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -3,3 +3,18 @@ fun little service powered by [fastAPI](https://github.com/tiangolo/fastapi) right now it only serves pics of teawie + +## how to host + +this is meant for my [website](https://guzzle.gay/), but it can be hosted anywhere with one edit in `src/guzzle_api/bot.py` :) + +on L7, change the `URL` constant to whatever domain you plan to host this on +```python +URL = "https://<yourdomainhere> +``` + +and to start running a docker (or podman) container: +```bash +docker build -t guzzle_api . +docker run -d --name api 7070:<your_desired_port> guzzle_api +``` |
