Scripts and such to automate things
Go to file
2020-03-31 10:55:25 +02:00
ansible WIP, changing the whole configuration setup 2020-03-31 10:55:25 +02:00
security minor advice 2020-01-29 11:05:21 +01:00
sites WIP, changing the whole configuration setup 2020-03-31 10:55:25 +02:00
.gitignore WIP, changing the whole configuration setup 2020-03-31 10:55:25 +02:00
README.md WIP, changing the whole configuration setup 2020-03-31 10:55:25 +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.

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