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
Right now main PhpService and PythonService are connected to the same machine, basically, due to several things.
Python Service port. It is hardcoded as :8678 in PHP. I would propose make it an env variable for PHP and Python (tested it already - it is working).
There is am implicit connection via filesystem. I discovered that subtitle files are stored by PHP and Python Service is reading them directly from the same disk. It is not working without file shares, when services are deployed to different servers. Workaround is to add file share (which is quite expensive) or send the file itself through the API, so that python could save it itself and then parse. It could be a breaking change, if anyone is using containers on different servers - they will have to redeploy both containers.
Unfortunately, I don't know if any other APIs use the same filesystem for other operations. If you could help me finding it, I could propose a fix.
The text was updated successfully, but these errors were encountered:
Right now main PhpService and PythonService are connected to the same machine, basically, due to several things.
:8678
in PHP. I would propose make it an env variable for PHP and Python (tested it already - it is working).The text was updated successfully, but these errors were encountered: