This simple project aims to provide a simple setup for eZ Publish 5 dev using docker-compose.
This is a work in progress so feel free to contribute.
- Apache-PHP
- MySQL
The Apache-PHP container is linked to the MySQL container so use can access your database using doctrine.
- Clone the repo.
- Put your eZ Publish files inside /volumes/www/
- Change the mysql password if needed in /dockerfiles/mysql/Dockerfile
- If needed, you can change the apache settings (timezone, etc.) in /dockerfiles/apache/Dockerfile
- Configure the /conf/vhost.conf file as needed. It will automatically be copied to the container.
- Start the containers : docker-compose up
- Connect to the mysql container to create (and import) your database : docker exec -i -t ezdocker_mysql_1 bash
- Connect to the apache container to generate assets : docker exec -i -t ezdocker_apache_1 bash
- Access your site using the host name you put in the vhost.conf file