docker icon indicating copy to clipboard operation
docker copied to clipboard

refactor(entrypoint) improve script clarity

Open joshtrichards opened this issue 3 months ago • 0 comments

Improved entrypoint script clarity:

  • General code reformatting
  • Refactors to keep most lines <=90 characters
  • Updates existing comments for clarity/consistency/usefulness
  • Adds new, clarifying comments
  • Adds/enhances descriptions for all utility functions
  • Adds reminder language re: ash/dash script compatibility
  • Minor adjustments to some error/general output (cosmetic only)
  • Notes some future "TODO" (possible) items
  • Documents the current reasoning for deploying code onto persistent volume

No logic changes per se but:

  • Moves rsync base config/callilng into a dedicated function
  • Fixes non-POSIX variable compliance
  • Adjusts how the PHP Redis session config file is built for clarity purposes (content does not change)

joshtrichards avatar Sep 23 '25 06:09 joshtrichards