Skip to content

Traefik

Mkdocs and traefik

I was not able to setup mkdocs in a docker container to be accessed from extern. Somehow it conflicted with the file server. I tried to change the container ports but that didn't work as well.

I guess it is because mkdocs serve is supposed to be used locally only. What I should do is to deploy the website and serve it as a static web page. So I need a simple static web server page to be loading.

Indeed, by building the mkdocs page with mkdocs build and then setting up a static node http server, I was able to access my notebooks externally.