datBase icon indicating copy to clipboard operation
datBase copied to clipboard

docker connection from local

Open okdistribute opened this issue 6 years ago • 4 comments

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

okdistribute avatar Oct 03 '17 19:10 okdistribute

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

joehand avatar Oct 03 '17 22:10 joehand

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. =(

joehand avatar Oct 03 '17 23:10 joehand

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.

joehand avatar Oct 04 '17 17:10 joehand

this may be related to https://github.com/datproject/dat/issues/947

SvenDowideit avatar Mar 06 '18 03:03 SvenDowideit