Docker image of wordpress with PHP 7 FPM mode
10K+
build on PHP 7 (FPM mode), Nginx and MariaDB
You need the 3 containers bellow :
app:
image: 'jimyryan/wordpress-app:latest'
autoredeploy: true
links:
- 'db:mysql'
restart: on-failure
volumes:
- '/var/data/wordpress:/var/www/html'
db:
image: 'jimyryan/wordpress-db:latest'
autoredeploy: true
environment:
- MYSQL_ROOT_PASSWORD=__SET_YOUR_MYSQL_PASSWORD__
restart: on-failure
volumes:
- '/var/data/mysql:/var/lib/mysql'
web:
image: 'jimyryan/wordpress-web:latest'
autoredeploy: true
links:
- app
ports:
- '80:80'
- '443:443'
restart: on-failure
volumes:
- '/var/data/wordpress:/var/www/html'
- '/var/data/_log/nginx:/var/log/nginx'
Content type
Image
Digest
Size
202.7 MB
Last updated
over 10 years ago
docker pull jimyryan/wordpress-app