polaris64@lemmy.worldtoSelfhosted@lemmy.world•Does Anyone Host a Discord Alternative? Like a Matrix/Synapse Server?English
2·
1 year agoI self-host a Synapse (Matrix) server on a VPS and it’s been working great for well over a year now. I do so via Docker and it seems very stable.
I use Caddy in production with a PHP-FPM WordPress Docker container in the same way as you describe. I have the site root mounted as a volume on to Caddy container at
/var/www/html
and mounted in the WordPress PHP-FPM container under a separate path. In my Caddyfile I use theroot
directive as you’ve shown but then override it under thephp_fastcgi
directive to match the path in the WordPress container.