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
Currently mina daemons in minimina local network use network_mode: host which may be a problem when running multiple networks at the same time as ports may collide between networks. Also exposing ports with ports: [<port>:<port>] may also be problematic because we would need additional logic for handling ports such that they don't interfere on host network.
Minimina does not use network_mode: host any longer however it exposes graphql ports which may interfere when there are networks spinned next to each other therefore the original problem still requires addressing.
Possible way to workaround is to employ nginx reverse proxy to expose graphql endpoints. This way ports handling would live inside private docker network and we can expose graphql like http://localhost/<network-id>/<node-id>/graphql
Problem
Currently mina daemons in minimina local network usenetwork_mode: host
which may be a problem when running multiple networks at the same time as ports may collide between networks. Also exposing ports withports: [<port>:<port>]
may also be problematic because we would need additional logic for handling ports such that they don't interfere on host network.Minimina does not use
network_mode: host
any longer however it exposes graphql ports which may interfere when there are networks spinned next to each other therefore the original problem still requires addressing.Possible way to workaround is to employ nginx reverse proxy to expose graphql endpoints. This way ports handling would live inside private docker network and we can expose graphql like
http://localhost/<network-id>/<node-id>/graphql
Acceptance Criteria
Example configuration
docker-compose.yaml:
nginx.conf:
Graphql ep: http://localhost/default/seed/graphql
Tasks
The text was updated successfully, but these errors were encountered: