Installing Discourse and Ghost on the same Droplet

I have done that in an amazon lightsail server.

I have installed discourse (running under docker of course) then I have installed the docker version of ghost using docker-compose and creating a stack.yml file to configure it.

Then I had installed nginx and used it as a front end, configuring discourse serving content in a unix pipe and redirecting calls to the ghost server to the internal 0.0.0.0:2386 address where ghost listens.

I am looking now to see if I can serve ghost content in a unix pipe too.

I have a 1 Gb and 1. Vcore server.
But it does not run ok. It hoes above the sustain cpu usage limit.
At least ehen you need to reconfigure or rebuild, and it gets way too slow.
It seens a problem of cpu usage, nor ram limit.
2 cores and 2 gb ram seems more appropiate.

In a t2.micro with same config it seems to run smoothly.
But aws pricing is way too complex to be able to predict costs.

Ee have now to evaluate if running separate instances of ghost and discourse us cheaper and more appropuate that going for a 2core 4gb memory lightsail server.