diff --git a/README.md b/README.md index c7a6bad35..378a9c4b0 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ Editing module is active by default, to avoid simultaneous feature editing by tw This locking system can remain active if users do not exit the editing state correctly, to avoid this it is advisable to activate a cron job on host machine that checks the features that have been locked for more than 4 hours and frees them: ``` -0 */1 * * * docker exec -e DISPLAY=:99 g3w-suite-docker_g3w-suite_1 python3 /code/g3w-admin/manage.py check_features_locked +0 */1 * * * docker exec g3w-suite-docker_g3w-suite_1 python3 /code/g3w-admin/manage.py check_features_locked ``` ## Front-end App diff --git a/docker-compose-consumer.yml b/docker-compose-consumer.yml index 81df22e2f..178e806d5 100644 --- a/docker-compose-consumer.yml +++ b/docker-compose-consumer.yml @@ -30,6 +30,7 @@ services: g3w-suite: image: g3wsuite/g3w-suite:dev environment: + - DISPLAY=:99 - G3WSUITE_TILECACHE_PATH - G3WSUITE_POSTGRES_DBNAME - G3WSUITE_POSTGRES_USER @@ -81,6 +82,7 @@ services: g3w-suite-consumer: image: g3wsuite/g3w-suite:dev environment: + - DISPLAY=:99 - G3WSUITE_TILECACHE_PATH - G3WSUITE_POSTGRES_DBNAME - G3WSUITE_POSTGRES_USER diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 71d87e8ae..582d5ab44 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -31,6 +31,7 @@ services: g3w-suite: image: g3wsuite/g3w-suite:dev environment: + - DISPLAY=:99 - G3WSUITE_TILECACHE_PATH - G3WSUITE_QDJANGO_SERVER_URL - G3WSUITE_POSTGRES_DBNAME diff --git a/docker-compose.yml b/docker-compose.yml index ec703a19e..8e0719547 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,6 +28,7 @@ services: g3w-suite: image: g3wsuite/g3w-suite:dev environment: + - DISPLAY=:99 - G3WSUITE_TILECACHE_PATH - G3WSUITE_POSTGRES_DBNAME - G3WSUITE_POSTGRES_USER