-
Notifications
You must be signed in to change notification settings - Fork 436
Expand file tree
/
Copy path.env.example
More file actions
21 lines (18 loc) · 854 Bytes
/
Copy path.env.example
File metadata and controls
21 lines (18 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copy this file to .env and fill in your values, then run:
# docker compose up --build
#
# At least one provider key is required for gptme to run conversations.
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
OPENROUTER_API_KEY=
REQUESTY_API_KEY=
# Auth token required on every request. gptme-server enables auth by default
# when bound to 0.0.0.0 (as it is in the container), so set this to a value you
# choose and configure the web UI with the same token. If left blank, the server
# auto-generates a token at startup — find it with `docker compose logs`.
GPTME_SERVER_TOKEN=
# Origin allowed to call the server via CORS. Defaults to the hosted web UI.
# Set this to your own web UI origin if you self-host the frontend too.
CORS_ORIGIN=https://chat.gptme.org
# Host port to publish the server on (container always listens on 5700).
GPTME_SERVER_PORT=5700