I have one instance of Ghost on my local mac on port 2368 ( the default port ). I’d like to install another instance of Ghost on a different port. Is this possible?
The Ghost team has made blogging fun again.
Best regards.
I have one instance of Ghost on my local mac on port 2368 ( the default port ). I’d like to install another instance of Ghost on a different port. Is this possible?
The Ghost team has made blogging fun again.
Best regards.
Yep, in a new folder run ghost install local --port 1234
If your other Ghost instance is already running, you don’t even have to specify the port - The cli will find the next open port it can use
There’s tons of things you can configure with ghost install
. If you’re interested, you can always run ghost install --help
Thank you Vikas!
What if we wanted to keep the data (settings and posts) unique to each ghost install? Is this a matter of only creating a new database file?
Yes. If you install them via ghost install --local
, new sqlite database files will be created inside the content directory of each instance.
With MySQL on a production instance, a separate database per instance - ideally with its own user - would also do the trick