-
Set the environment variable
OPENAI_API_KEYwith your OpenAI API key. (The relay gateway will use it.) -
Set up Postgres:
docker compose run --rm relay-gateway --run-postgres-migrations
- Create a TensorZero API key:
docker compose run --rm relay-gateway --create-api-key
-
Set the environment variable
TENSORZERO_RELAY_API_KEYwith the key you just created. (The edge gateway will use it.) -
Spin up both gateways and Postgres:
docker compose up