For that who need similar goal we just build a docker image FROM n8nio/n8n with a custom build of editor-ui package with publicPath variable set to {{tenant}} value in the vue.config file just like this in the Dockerfile:
Thanks a lot for sharing the work-around! Is very appreciated!
I want to however mention that I am not sure if it will make make problems somewhere else in n8n. Is additionally also possible that it breaks in the future as it is currently not officially supported.
In the just released [email protected] it is now possible to set the publicPath via the environment variable VUE_APP_PUBLIC_PATH which will make the above now partly obsolete.
From your other post I suspect you are already aware, I will be posting an update on that thread later today once I have had a chance to give it a test.
As this post is 3 years old now I am going to mark it as closed.