This repo lets you run WordPress (install WooCommerce via WP Admin), PrestaShop, and OpenCart locally with Docker,
and deploy the same setup to Render via render.yaml.
- 1x MariaDB (shared) with three databases:
wordpress,prestashop,opencart - WordPress 6.9 with automatic WooCommerce installation and sample products
- Persistent volumes locally, and persistent disks on Render
- PrestaShop and OpenCart are currently disabled (can be enabled by uncommenting in config files)
- Docker Desktop installed and running
docker compose up --build- WordPress: http://localhost:8080
-
Databases are auto-created on first run via
db-init/01-create-dbs.sql -
WordPress 6.9 is pre-installed
-
After completing WordPress setup wizard, install WooCommerce and sample products:
# Find your WordPress container name docker ps # Run initialization script (replace 'xmoney-demo-stack-wp-1' with your container name) docker exec -it xmoney-demo-stack-wp-1 /var/www/html/init-wordpress.sh
This will:
- Install and activate WooCommerce
- Add 6 sample products (headphones, t-shirt, water bottle, fitness watch, coffee beans, laptop bag)
- Push this repo to GitHub.
- In Render: New → Blueprint and select your repo.
- Render will create:
demo-db(private MariaDB) + diskwp-web,ps-web,oc-web(web services) + disks
- Open WordPress URL and complete the setup wizard
- Then SSH into your WordPress service and run:
This will install WooCommerce and add sample products automatically.
/var/www/html/init-wordpress.sh
docker-compose.yml— local devrender.yaml— Render Blueprintdb.Dockerfile— MariaDB image for Renderdb-init/01-create-dbs.sql— auto-create databases (local)wp/,prestashop/,opencart/— Docker images per app
- Auto-install WooCommerce via WP-CLI
- Add phpMyAdmin (private service)
- Separate DB users per app (instead of root)