Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

docs: commands for setting llm env vars

Christian Feicbaa172044ab
diff --git a/README.md b/README.md
index fcf294e..ecde685 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,16 @@ AI_APIKEY
Simply set the env variables to your needs, by following the format above (e.g. url starting with "http", no ending slash, AI_ENDPOINT with leading slash and path)
+Some examples:
+
+```bash
+AI_MODEL=gpt-4o-mini AI_HOST=https://api.openai.com AI_APIKEY=sk-proj-123 npm start
+
+# or with docker in background
+docker run -e AI_MODEL=gpt-4o-mini -e AI_HOST=https://api.openai.com -e AI_APIKEY=sk-proj-123 -d -p 3000:3000 christianfei/my-yt:latest
+# running in foreground
+docker run -e AI_MODEL=gpt-4o-mini -e AI_HOST=https://api.openai.com -e AI_APIKEY=sk-proj-123 --rm -it -p 3000:3000 christianfei/my-yt:latest
+```
## Why?