kerberos-io / web

(DEPRECATED) An open source GUI to configure the machinery and to view events that were detected by the machinery.
https://www.kerberos.io
225 stars 70 forks source link

Is Kerberos-IO an SD Card killer? Feature request for read-only filesystem #156

Open KarlBaumann opened 4 years ago

KarlBaumann commented 4 years ago

Is your feature request related to a problem? Please describe. A regular SD card supports approx. 100,000 write cycles. Depending on the usage, SD card will die from few weeks to few months.

Describe the solution you'd like Tutorial should guide users through setting up web and machinery on a read-only filesystem. That means:

  1. it should be described how to create ram-drives,
  2. Laravel should be configured not to log or log only in the specified ram drive,
  3. Cache and storage directories should be symlinked or reconfigured
  4. System should be able to run without SWAP partition (memory consumption has to be optimised).
  5. Nginx and PHP-FPM should also not log at all or log only in the ram.

Read-only filesystem is already supported by KIOS, so it should not be too difficult to make it also work with Raspbian or Docker setups.