[Lizmap] Error installing Lizmap with docker-compose

David Marteau dmarteau at 3liz.com
Tue Feb 1 05:47:30 PST 2022


Hi,

You must support docker-compose file v3 to support profiles: 
https://docs.docker.com/compose/compose-file/compose-file-v3/#profiles

Your installed docker-compose version version is not up to date (also 
the docker-py module which is now called 'docker' at version 5.0.3).

Update your docker-compose (I strongly suggests using the python version 
in a virtual environnement: `python3 -m venv ....`)

Regards,
David.


Le 01/02/2022 à 14:28, Osmin Castillo a écrit :
> Thank you Nicolas for your reply, this is my command output:
>
> docker-compose version 1.26.1, build f216ddbf
> docker-py version: 4.2.2
> CPython version: 3.7.7
> OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019
>
> best regards,
> Osmin Castillo
>
> El mar, 1 feb 2022 a las 1:55, Nicolas Boisteault 
> (<nboisteault at 3liz.com>) escribió:
>
>     Hi Osmin,
>
>     I think your docker-compose is not up to date. Run `docker-compose
>     version` and write here the output.
>
>     Le 31/01/2022 à 23:24, Osmin Castillo a écrit :
>>     Hi Lizmap users:
>>
>>     I'm trying to test Lizmap on Linux Mint 20.1 with docker-compose
>>     using github documentation:
>>     https://github.com/3liz/lizmap-docker-compose
>>
>>     Get this error when execute the command: docker-compose up
>>     ERROR: The Compose file './docker-compose.yml' is invalid
>>     because: Unsupported config option for services.postgis: 'profiles'
>>
>>     Any help would be appreciated, thanks in advance.
>>
>>     Osmin Castillo
>>
>>
>>
>>     _______________________________________________
>>     Lizmap mailing list
>>     Lizmap at lists.osgeo.org
>>     https://lists.osgeo.org/mailman/listinfo/lizmap
>     _______________________________________________
>     Lizmap mailing list
>     Lizmap at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/lizmap
>
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220201/e5c065eb/attachment-0001.html>


More information about the Lizmap mailing list