Scripts and such to automate things
Find a file
2020-04-27 09:45:07 +02:00
ansible started jitsi conf and moved zinzoscope and lexperimental to templating solution 2020-04-27 09:45:07 +02:00
jitsi/ansible started jitsi conf and moved zinzoscope and lexperimental to templating solution 2020-04-27 09:45:07 +02:00
security minor advice 2020-01-29 11:05:21 +01:00
sites started jitsi conf and moved zinzoscope and lexperimental to templating solution 2020-04-27 09:45:07 +02:00
.gitignore WIP, changing the whole configuration setup 2020-03-31 10:55:25 +02:00
README.md build upon the wordpress Docker image to add mail forwarding to the host using msmtp 2020-03-31 13:49:28 +02:00

How to package Wordpress

Wordpress + PHP-FPM in Docker + nginx

nginx and PHP-FPM both need access to the files--at the same location. It's thus not easy to have a single nginx serving multiple PHP-FPM containers. You always need a webserver in the same container as PHP-FPM.

Alternatives

  • WP multisite + Caddy: arguments against using the Wordpress Docker image, keeps the whole wp install outside the image, and instead focuses on properly configuring PHP-FPM. Has the advantage of being reusable for other PHP projects. Is well argumented. Tackles file access rights and mailing (ssmtp), it's a good source!

Which webserver?

traefik does not support php-fpm, Caddy does. Not such a problem, we can keep Apache inside the container, who gives a shit.

Wordpress security

TODO

  • review synapse nginx conf - seems incomplete