Joomla + MySQL + phpMyAdmin on Docker.
Written by Amir Barkal
Environment details:
- MySQL root password: 12345678
- Joomla database name: joomla
- MySQL hostname: mysql
FAQ
What is this?
A fast way to spin up joomla using Docker.
How do I configure it?
- Download and install Docker
- Clone this repo
cd joomla-docker
docker-compose.exe up
How do I access Joomla?
Open http://DOCKER_HOST:80
How do I access phpMyAdmin?
Open http://DOCKER_HOST:81
Where is my stuff?
Joomla and MySQL are mounted as docker volumes inside the code
and database
directories.
(Changes are persisted accross container restart \ removal)
Can I bring my own stuff?
Yes.
Copy your website into the ./code
directory before starting the environment.
For example, if you have an Akeeba ZIP file, extract its content to code
and run
docker-compose up
Help! I need a different PHP/Joomla version!
Edit docker-compose.yml
and change the joomla image as per your requirements.
I'm having trouble installing Docker :-(
See if this video helps you: