davis icon indicating copy to clipboard operation
davis copied to clipboard

[Feature] Combined Docker image

Open tchapi opened this issue 1 year ago • 3 comments

  • combined Docker image with Caddy, supervisord, PHP-fpm
  • new workflow to build both flavours of the image (davis, davis-standalone)

tchapi avatar Mar 04 '24 20:03 tchapi

FWIW I have an all-in-one davis image (nginx, phpfpm, davis) over here. Though I'll be retiring it soon as I move from a container deployment to NixOS. Feel free to yoink anything if you want.

Ramblurr avatar Apr 02 '24 07:04 Ramblurr

Thanks for the pointers. Do you have a TL,DR of the improvements you made (apart from adding the reverse-proxy in there), that would be helpful to bake into a common standalone image?

tchapi avatar Apr 02 '24 08:04 tchapi

Things I added that I think are worthwhile are:

  • the opcache settings for a perf boost
  • php fpm tuning settings
    • www.conf
    • in particular the pm.max_children I had to raise from whatever the default was because when I migrated to davis and did a full sync from my old provider it ran out of children and stalled the sync process.

Ramblurr avatar Apr 02 '24 08:04 Ramblurr