Question: Is it possible to run the gateway on a container by itself? Running into Socat port 4004 issues #260
-
Does my trading code have to exist on the same container as the gateway? It seems like localhost is the only recommended way of doing this? Otherwise it's plaintext to the world? My docker image will not start if I have port 4004 configured.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
no, it does not have to reside on the same container. having it on the same container is an anti-pattern. here you have some examples #146 (comment)
not sure what you mean, in the README.md it's setup in check docker networking
again, it depends on how you set it up. check leaving localhost |
Beta Was this translation helpful? Give feedback.
-
I think I got it working somewhat. If I run the docker container on my local mac I am able to have my script running on a pve host on the same network talk through it. So far the socat translation seems to ONLY work when deployed on a mac running docker. It does not appear to work on an ubuntu host. The ports never seem to get advertised. I'll try some of those examples. |
Beta Was this translation helpful? Give feedback.
Update, managed to figure this out. Thanks for the patience.