summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-10 05:33:22 +0000
committerGitHub <[email protected]>2023-01-10 05:33:22 +0000
commitfe4a7ce2ee7b7ca82b93db1b84774da4e7fa9e28 (patch)
treed2c769442e96e4d4bebb4994b06fce07324cede0
parent7d5d8c54ef4b5010fcf1200fa9de0148e4a9a9a0 (diff)
feat: add instructions for self hosting
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 63bf2af..547ec63 100644
--- a/README.md
+++ b/README.md
@@ -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
+```