You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the pro setup, I have the main application mapped to a different port because port 3000 is taken by another application already. I do this in Docker Compose like so
services:
meme_search_pro:
ports:
- 3112:3000
However, it appears that the text-to-image generator expects (via hard-code) to always find the main app at port 3000:
Adding a .env file for custom port mappings is certianly doable! Would you like to submit a PR to get it started? Port specifications in a .env would need to be read by both the app and image-to-text containers.
As for your current setup - if you have stopped your other process running on 3000 then the port mapping
Using the pro setup, I have the main application mapped to a different port because port 3000 is taken by another application already. I do this in Docker Compose like so
However, it appears that the text-to-image generator expects (via hard-code) to always find the main app at port 3000:
meme-search/meme_search_pro/image_to_text_generator/app.py
Line 15 in 5b15859
This generates failed requests when trying to use the image to text functionality:
(Nothing is listening on 3000--the other app I have on that port is stopped during this test).
Can this be changed to read from an environment variable instead of a hard-code?
The text was updated successfully, but these errors were encountered: