LiveKit Agent Variables
The LiveKit Agent reads its configuration from.env.local at startup. All variables marked Required must be present or the agent will exit with an error.
Avatar Server Variables
The Avatar Server reads its configuration from theenvironment block in docker-compose.yaml. Set these values before running docker compose up.
Setting Variables
LiveKit Agent — .env.local
Copy .env.example to .env.local and fill in your credentials:
.env.local with your real values:
.env.local
The agent loads
.env.local specifically via load_dotenv(".env.local"). A file named .env will not be picked up automatically — make sure you use the correct filename.Avatar Server — docker-compose.yaml
Set the Avatar Server variables directly in the environment block of docker-compose.yaml:
docker-compose.yaml
api.yourdomain.com with your server’s actual public domain or IP, and replace CHANGE_THIS with a strong password before starting the server.
