summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+```