-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature - Multiple REPL with Remote REPL support #67
base: master
Are you sure you want to change the base?
Feature - Multiple REPL with Remote REPL support #67
Conversation
- remote instance provided over a TCP socket piping the console messages to a remote terminal - updated REPLOptions to allow specifying the TCP port
I don't think it's a good idea to allow accessing the whole Moleculer project via a TCP socket. If you expose the port, anybody can join your cluster without any authentication and can make wrong things as well. If you expose a port, it can be the port of the transporter and you can join from your computed with |
That's a valid concern.
Thanks for the tip 👍🏾 expose:
- 4222 or ports:
- 4222:4222 In my docker-compose, other than the traefik container ports (80, 443 and 8080), no other containers have port forwarding. I use the traefik labels to route http and tcp traffic to the moleculer service container. |
@icebob the socket does not have to be public. It can be localhost and ssh port forwarding or a zero-trust network. |
telnet
orsocat
tcpPort
REPL opts or with thereplTcpPort
broker configuration.