Closed IgniKSJ closed 1 month ago
Actually, line 117 should be removed entirely - AppFlowy cloud service actually doesn't communicate directly with OpenAI, it is the other service, appflowy AI, that does this.
Thanks for raising this, we will fix the docker compose file.
Related to
I found this problem following the self-host documentation. It advices to use "deploy.env" as a template to create the ".env" file. Everything works but for the "APPFLOWY_AI_OPENAI_API_KEY", i had to change its name to "APPFLOWY_OPENAI_API_KEY" in order for it to work. Since the previous variable name follows the naming conventions in the rest of the file, guess the problem is in line 117 of docker-compose.yml "APPFLOWY_OPENAI_API_KEY=${APPFLOWY_OPENAI_API_KEY}" should be changed to "APPFLOWY_OPENAI_API_KEY=${APPFLOWY_AI_OPENAI_API_KEY}"
To Reproduce Steps to reproduce the behavior: Follow the lastest selh-hosting tutorial. The problem emerges when trying to compose with the said variable, since it is badly named, the compose script warns you that you haven't set up the openai api key and it will use a blank string by default. I have done this in a clean ubuntu installation, using docker desktop.