- Official website
https://expressionengine.com/ - Documentation
https://docs.expressionengine.com - ExpressionEngine on Github
https://github.com/ExpressionEngine
- Go to directory with this repo (in console) on your computer
- Run command
$ docker-compose up -dit will create three images -ExpressionEngine,MysqlandAdminer - ExpressionEngine app files, are located in
expressionenginedirectory at your computer, and/var/www/htmlinside of the container
Now you have working environment based on Docker. Below are few links, where you can go and start working with ExpressionEngine.
http://localhost:7312/admin.php - ExpressionEngine administration panel
http://localhost:7312 - Main page
http://localhost:8181 - Adminer to management MySQL database
After first time running docker containers, we need to set up ExpressionEngine site.
-
Got to
http://localhost:7312/admin.phppage -
You should have seen installer of ExpressionEngine. Fill required fields with this data:
Server Address:
db
DB name:expressionengine
DB username:expressionengine
DB password:expressionengine
Email:your@email.com
Username:some_user
Password:some_passwordNew to ExpressionEngine? Install the default theme to get up and running faster with dummy front-end and back-end data. To do this, please check
Install default theme?option.
Check checkboxI agree to the license Terms and Conditionsand click Install button.After successfully installation, you should be able to see info-box
-
According to information from install complete box, we need to remove
system/ee/installerdirectory. Without that we won't be able to log in into administration panel. To remove this directory, we need to go into docker container with ExpressionEngine page. To do that, go to console and run command:$ docker exec -it expressionengine-7.3.12 bashThis command will move you to container console with a path
/var/www/html. In this console write and execute command:$ rm -rf system/ee/installer/This command will delete
installerdirectory in Docker container. After that you can type$ exitin a console to exit from container.Now if you go to admin panel page
http://localhost:7312/admin.phpyou will get login pageYou can log in with credentials passed during installation process
Username: some_userandPassword: some_passwordMain page url is
http://localhost:7312. If you checkedInstall default theme?option during installation, you should be able to see page with some data.
If you want to connect directly with MySQL database, there is an simple application called Adminer included to this ExpressionEngine docker image. If you go to:
You should've seen login page to MySQL database
If you fill fields with the data (same as during ExpressionEngine installation process):
Server: db
Username: expressionengine
Password: some_password
Database: expressionengine
Click Login button and you will connect to database assigned to your ExpressionEngine page.
| Type | Version |
|---|---|
| ExpressionEngine | 7.2.15 |
| PHP | 8.0.28-apache |
| MySQL | 8.0.33 |
| Adminer | latest |


