Test environment for installation of multiple WordPress instances.
In order to create test environment, run
docker-compose up -d --build
Right now, the environment contains 3 WP instances without dynamic scaling.
As official WordPress container wasn't work for me very well, I used their Dockerfile with my modification in order to achieve possibility of using multiple WP containers. Link to official repo.
HAProxy is built with checks, but this is something what need improvements
Currently passwords are stored in .env file. As it is a test environment, I do not see any problem with that.
Wordpress site is available here localhost:8080
HAProxy statistic page is available here localhost:8082/stats
, user and
password is admin
- better http check for HAProxy
- dynamic scaling
- tests