Run multiple web apps in one spring boot container
Like this for example:
public static void main(String[] args) { start(Admin.class, Webshop.class).run(args); start(Another.class).properties("server.port=${other.port:9000}").run(args);}private static SpringApplicationBuilder start(Class<?>... sources) { return new SpringApplicationBuilder(Domain.class) .showBanner(false) .child(sources);}
It would start two apps on different ports.