dat-ecosystem-archive/datBase

docker connection from local

Opened this issue · 4 comments

there's something @maxogden and @joehand figured out for try-dat.com that we also should apply here for the docker container.

switched to host networking mode, now that all the ports are shared amongst all processed, lots of bugs creeped up because 2 containers would try to listen on the same port

We are using https://github.com/jwilder/nginx-proxy for the networking mode, so we need to figure out how to get that to work with dat or something. =(

Tried these things:

  • Exposed & opened 3282 & 3282/udp in the docker run command
  • Turned on udp in dat-registry-api

I got one connection that was hole-punched to my local but not working anymore, so not really sure what is going on.

this may be related to dat-ecosystem/dat#947