New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separating the data from the code for Azure Web Site hosting #1321
Comments
I think @ErisDS is going to need to weigh in on this one, but my initial thoughts are:
|
This should not entail any significant architectural changes. It's pretty much just allowing the path to the data folder to be configurable (via config file and/or environment variable). There wouldn't be anything Azure specific. Also, if Ghost creates any log files, we'd need to make sure that it doesn't try to write them in the readonly folder. How the folder would be readonly: it would be based on our new Site Extension mechanism, which allows some pre-installed bits to affect the site. Would it prevent self-update: yes, in this model update would be done differently, in a more centralized fashion. |
It's not a bad idea at all, and in fact it would be good to make these things configurable for the benefit of many different setups and I raised an issue to do it #1364 (it's a general issue, nothing to do with Azure). I don't think there is anything else required in order to do what is described here, so I'm not sure whether we need to keep this issue open? |
I still have a concern about breaking our built-in auto-update functionality by going this route with Azure, but I think the only change that would need to be made at the moment is in fact covered by the issue you reference @ErisDS |
Going to close this in favour of #1364 |
Sounds good, thanks Hannah! |
I'd like to play around with a different way of hosting Ghost in a Windows Azure Web Site (compared to what's discussed in #830). In the model I'm envisioning:
Some of the benefits of this model:
One obvious drawback is that the user loses the ability to tweak the core logic, but my take is that only a very small number of users want to do that, and those who do can always deploy the 'old fashion' way.
Question: how easily can I tweak Ghost to configure where it writes all its data files?
The text was updated successfully, but these errors were encountered: