Can't get running locally with AI tools
Author: terr-steakCreated Jan 9, 2025Updated Jun 19, 2026
I have tried the steps outlined in the README.md to get running locally with the AI tools in a docker container to no avail. How exactly are you supposed to get it to run with the openAI functionality?
I tried:
OPENAI_API_KEY=<MY_OPENAI_KEY>; docker build --build-arg VITE_OPENAI_API_KEY=$OPENAI_API_KEY -t chartdb . \
docker run -p 8080:80 chartdbThis does not seem to populate the key in .../default.conf
OPENAI_API_KEY=<MY_OPENAI_KEY>; docker build --build-arg VITE_OPENAI_API_KEY=$OPENAI_API_KEY -t chartdb . \
docker run -e OPENAI_API_KEY=<MY_OPENAI_KEY> -p 8080:80 chartdbdoes seem to populate the api key in .../default.conf
But either way when I try to export (file -> export -> postgres) I get the modal that says its not setup.
Source: chartdb/chartdb