Docker compose environment for Pimcore
Clone or download
BlackIkeEagle add info about the install-pimcore helper and change the default pass…

Signed-off-by: BlackEagle <>
Latest commit 69e0c2b Jan 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin add info about the install-pimcore helper and change the default pass… Jan 10, 2019
.gitignore add info about the install-pimcore helper and change the default pass… Jan 10, 2019
docker-compose-dinghy.yml switch from mailcatcher to mailhog Nov 15, 2018
environment allow use of numbers in sessionname Nov 7, 2018

Pimcore compose environment

Dockerwest Compose Environment for Pimcore.

For detailed documentation, visit our website

When using Pimcore 5, please use the "pimcore5" branch!


For your convenience the developer environment has some helpers which take away some difficulties you could experience using docker containers.

If you want this easy helpers to be readily available for you you can use environment before you start. environment allows you to start your environment with an updated PATH and allows you to choose between tmux, screen or byobu. You can also define a default in the .env file.

explicit setting the window manager:

$ ./environment [tmux|screen|byobu]

using default window manager, defined in .env

$ ./environment

When you are running in this environment all helpers are available in your path.

You are not required to use the environent, but then you have to call the helpers with their full path.

To make use of the helpers you should use the run wrapper for docker-compose.

$ run up


There is a sample configuration .env-sample which contains the defaults used in this environment.

If you want to change some of these values, copy .env-sample to .env and start editing.

default .env-sample


Configure what UID and GID your PHP container must use. This usually should match your Hosts UID and GID. To find your local UID you can run id -u and to find your local GID you can run id -g.


Choose your PHP version. To see which versions are available here.


Choose what version of Nginx you want. To see which versions are available see here


Choose the version of pimcore you are going to use. The nginx configuration is slightly different between version 4 and version 5.


This setting defines what the hostname will be you can browse your pimcore app. The example configuration will be give you http://pimcore.docker.


Choose whatever you want to use as default root password.


A relative or absolute path to your pimcore code. this can be a checkout of pimcore.


There is the DEVELOPMENT environment variable wich will enable xdebug, composer and enable timestamp checking in opcache.

When DEVELOPMENT is enabled xdebug should work out of the box. When you have issues - like while running docker for mac - you can set the extra environment variable XDEBUG_CONFIG with your hosts ip in it so xdebug can properly connect back.


Set the default window manager when running the environment. Available options are: tmux, screen and byobu


The helpers are written in python, so you should have python2 or python3 installed on your system to be able to use them. Most Linux distributions and macOS have python already installed so there should be no issue there. There are no extra dependencies on python modules.

For detailed information on helpers, see our website


This will run the pimcore installation create a default admin login user. The admin user is admin and the password is DockerWest123!. The admin endpoint will be found under /admin.


MIT License (MIT). See License File for more information.