If you want to customize the UI, re-packaging all of Rancher to distribute the UI is possible but not terribly convenient. Instead you can change Cattle to load the UI source from a remote web server:
./scripts/build-static -l -c 'your-server.com'./dist/static/latest2 so that it's available at https://your-server.com/latest2 -v flaghttps://yourserver.com/latest2 URL如果要自定义UI,则可以重新打包所有Rancher以分发UI,但这并不是很方便。相反,您可以更改Cattle以从远程Web服务器加载UI源:
./scripts/build-static -l -c 'your-server.com'./dist/static/latest2以便可以在https://your-server.com/latest2上使用 -v标志重命名“ latest2”部分https://yourserver.com/latest2URL