-
https://www.nebari.dev/docs/how-tos/nebari-local sets up a docker private network on 172.18.1.100 can i make those services available to the lan? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @verhulstm, You can if you open the appropriate ports on the host's firewall and set up routing such that your router knows where to find that network. All of that is rather beyond the scope of Nebari itself, but it can definitely be done. The local deployment uses kind (https://kind.sigs.k8s.io/) to deploy Nebari, so you could probably start looking for how to expose a service running in kind to your lan and take it from there. I will point out that the local deployment is mainly intended for experimentation and development work though. |
Beta Was this translation helpful? Give feedback.
-
Hey @verhulstm, thanks for providing a solution. I'm closing this discussion but feel free to reopen if anything else comes up. |
Beta Was this translation helpful? Give feedback.
i solved it with this Dockerfile
FROM ubuntu:20.04
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get update; apt-get -y install tzdata
RUN apt-get -y install redir
RUN apt-get -y install wget nano net-tools
EXPOSE 443
CMD ["redir", "--laddr=0.0.0.0", "--lport=443", "--caddr=172.18.1.100", "--cport=443"]