Divio Cloud offers Beta support for PostGIS/GeoDjango. To activate it, you will need to be using up-to-date versions of our software.

Contact support

Please contact support to enable PostGIS for your project.

Enable PostGIS in Django

Enable django.contrib.gis in the Aldryn Django Addon configuration.

Enable PostGIS locally

After completing the steps above, update your local project so that it is in sync with the Cloud version.

Edit your docker-compose.yml  file to refer to mdillon/postgis - for example, change:db:
 image: postgres:9.6


 image: mdillon/postgis:9.6

(You are advised to keep the same version number.)

Did this answer your question?