Hello everyone!
I would like to know if you can share any document where I can follow up and solve the problem.
I have a server with Windows Server 2019 and this server has a Public IP, on that server I have several versions of Business Central on a Docker. Is it possible that the docker can see the public IP? Is it possible to do this or recommended?
Hi, hope the following can give you some hints.
https://asergo.com/knowledge-base/bare-metal-servers/docker/docker-containers-with-public-ips.html
https://www.quora.com/Is-it-possible-to-get-a-public-IP-inside-a-docker
Thanks.
ZHU
additional points:
for security reasons, at least consider using AAD authentification for your container and activate MFA. Do not Use NavUserPassword authentication
Is it recommended? I don't know
Is it possible? Yes. Below a summary if you want to practice only. For PROD, I recommend you talk to a security expert before doing this ;)
- create a dns for your public IP (in your dns registar). I suggest a subdomain like mybcserver.mydomain.com
- get a valid ssl certificate for this subdomain
- allow https (port 443) on your router/firewall and redirect to private IP of your server
- wipe all your container
- create a traefik container with bccontainerhelper (give it tour public subdomain and the ssl certificate as inputs)
- recreate your containers with bccontainerhelper and use the switch -useTraefik
Of course you can go the fancy way and try to install and configure yourself traefik or another proxy manager ;)
Totally possible - yes.
You might want to / have to implement Traefik to achieve what you want.
Please look at the doc here: doc.traefik.io/.../
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156