juzeon / poe-openai-proxy

A wrapper that lets you use the reverse-engineered Python library poe-api library as if it was the OpenAI API for ChatGPT. You can connect your favorite OpenAI API based apps to this proxy and enjoy the ChatGPT API for free!
GNU General Public License v3.0
425 stars 98 forks source link

feat: add dockerfiles #3

Closed OneRain233 closed 1 year ago

juzeon commented 1 year ago

Hello, thank you for the PR! I have tested your scripts, and it seems that there are some startup issues. The api service in the docker-compose file should have a depends_on clause for the external service; otherwise, it may fail to register poe tokens on startup. Additionally, Flask binds to port 5000 on 127.0.0.1 by default, which cannot be accessed from outside. Could you please fix your PR to address these issues and make it work?

OneRain233 commented 1 year ago

Yes, I have fix these issues. :)

juzeon commented 1 year ago

Thank you for your contribution!