wp-dockerlisted
Install: claude install-skill aiskillstore/marketplace
# WordPress Docker Environment Skill
Complete Docker Compose setup for WordPress development with WP-CLI automation.
## Quick Start
```bash
# Navigate to project directory
cd /path/to/project
# Copy templates
cp ~/.claude/skills/wp-docker/templates/* .
# Start environment
docker-compose up -d
# Run setup script
./wp-setup.sh "http://localhost:8080" "Site Name" "admin" "password" "admin@example.com"
```
---
## Docker Compose Stack
### Services
| Service | Image | Purpose | Port |
|---------|-------|---------|------|
| `db` | mariadb:10.11 | MySQL database | 3306 (internal) |
| `wordpress` | wordpress:php8.3-apache | WordPress + Apache | 8080 |
| `wpcli` | wordpress:cli | WP-CLI commands | - |
### Volume Mounts
| Host Path | Container Path | Purpose |
|-----------|----------------|---------|
| `./wp-content` | `/var/www/html/wp-content` | Themes, plugins, uploads |
| `db_data` | `/var/lib/mysql` | Database persistence |
| `./uploads.ini` | `/usr/local/etc/php/conf.d/uploads.ini` | PHP config |
---
## WP-CLI Commands
### Site Installation
```bash
# Install WordPress
docker-compose run --rm wpcli core install \
--url="http://localhost:8080" \
--title="Site Name" \
--admin_user="admin" \
--admin_password="password" \
--admin_email="admin@example.com"
```
### Plugin Management
```bash
# Install and activate plugins
docker-compose run --rm wpcli plugin install \
admin-site-enhancements \
branda-white-labeling \
admin-menu-editor \
yoast-seo \
li