WordPress container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Lightweight WordPress container with Nginx 1.18 & PHP-FPM 7.3 based on Alpine Linux.
WordPress version currently installed: 5.5.1
See docker-compose.yml how to use it in your own environment.
docker run -d -p 80:80 -v /local/folder:/var/www/wp-content \ -e "DB_HOST=db" \ -e "DB_NAME=wordpress" \ -e "DB_USER=wp" \ -e "DB_PASSWORD=secret" \ -e "FS_METHOD=direct" \ trafex/wordpress
This image includes wp-cli which can be used like this:
docker exec /usr/local/bin/wp --path=/usr/src/wordpress