[Mapbender-users] Issues with Docker Image & Source Install
ExplorationInsider.com - Admin Account
admin at explorationinsider.com
Tue Apr 8 11:19:44 PDT 2025
Hi there,
I really like the look of the mapbender interface and am trying to use it
to display a WMS layer that I've published with geoserver. I've managed to
sort-of get things working for the time-being, but here are my issues /
questions:
1) I first-off attempted to run your mapbender/mapbender:v4.1.0 (which is
also the tag for latest) on docker hub, and while I can pull it and run it,
if I'm trying to use it with postgis/postgis:17-3.5 when I try to run the
command "docker exec mapbender php application/bin/console
doctrine:schema:create" I get an error about drivers for postgres. I've
tried installing a number of packages for pgsql but I can't seem to get
anything to work.
2) I then went to your github repo for mapbender-starter to check that out,
and one thing that stuck out to me was that it says the current version is
4.0.3 on the main repo page; however looking at the recent commit message
in the application folder it says it's v.4.1.0 so I'm assuming that the
version should be changed in the repo?
3) I cloned the repo, and spun things up using the docker-compose.pgsql.yml
in the docker folder, and I could successfully run the migration commands
and all that jazz, and when I look in the public schema all of the tables
are there - is it because the compose file uses postgis/postgis:14-3.4? I
don't see how that could be the case.
4) I decided to use the image I built with the docker-compose.pgsql.yml and
change the postgis version to 17-3.5 and I'm back to getting the same
errors. I assumed because I was using the image built from the Dockerfile
in the repo, that it should have the correct drivers installed to talk to
postgres, but alas that is not the case. I'm a bit confused as to what's
going on.
---
Anyhow, that's where I'm at at the moment. I can spin it up and play
around with mapbender using the older version of postgis for now. I am
just confused as to why the main docker hub image can't connect to postgis
out of the box and there is no mention of using an older version of postgis
anywhere there. Also, on the mapbender-starter instructions, it references
a --force flag at the end of the schema create that returns a deprecated
error, so things just feel like they are out of date.
Thanks for any advice you can provide.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20250408/5bd60be9/attachment.htm>
More information about the Mapbender_users
mailing list