This is docker stack that let's you spin up WordPress server.
- Docker
- WordPress
- MySQL
- PHPMyAdmin
Update .env to change container name, ports, credentials, etc.
Run docker-compose.yml.
docker compose up -dGo to https://localhost:8080 (or what port you have define in .env) and complete the wordpress installation.
A wordpress_data folder should exists now. This is where WordPress instance will reside.
Q: I got a Permission Denied when adding new files in wordpress_data folder.
A: Set the folder permission.
Warning
This is not advisable in production server.
chown -R 777 ./wordpress_data