-
Notifications
You must be signed in to change notification settings - Fork 760
Open
Description
We’re trying to set up container mode for our application by splitting the UI into one container and the code execution service into another. However, we’re running into issues connecting the two containers.
What We’ve Tried:
1 Building the UI Container:
- Successfully built the first container hosting the UI.
- It works fine when running locally without separating the code execution service.
2 Creating the Code Execution Service Container:
- Attempted to create a second container for the code execution service.
- Having trouble getting the UI in the first container to communicate with this second container.
3 Editing environment.py:
- Adjusted environment.py to point to the correct URL and ports for the code execution service.
- Despite these changes, the connection between the UI and the code execution service still isn’t working.
Issues We’re Facing:
- The UI can’t connect to the code execution service in the second container.
- Getting errors about the UI not being able to communicate with the external service.
- Attached logs and error messages for more context (see attached files).
We’re Looking For:
- Guidance on how to properly configure both containers so the UI and code execution service can communicate.
- Confirmation if we need to do anything else when modifying environment.py or other config files.
- Suggestions or resources to help us fix this connection issue.
- Guidance on how to manage the session_id-kernel_id.json in this case
thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels