SolidJSS
SolidJSโ€ข3y agoโ€ข
6 replies
oneiro

What is the proper way to start solid-start in production (especially with something like pm2)?

Hey folks,

I am currently running solid-start in production with a docker compose setup. Solid start is being run by first producing a build with running solid-start build and then invoking solid-start start.

Is this the proper way to run solid-start in production?
Is there a way to just run the output from solid-start build? When running something with pm2 for example you typically provide a single javascript file as scriptentrypoint. How would I do that with solid-start?
I want to start clustering my application. But before I use something large like kubernetes for scaling, I want to use pm2 inside my docker-container.

Thanks in advance ๐Ÿ™‚
Was this page helpful?