view docker/README @ 9751:308a0d822d18 3.2.x

Keep configuration and data in distinct directories This allows having distinct volumes for configuration and data (artifact database, generated mapfiles and shapefiles, etc.). While at it, cleanup MapServer configuration a little bit.
author Tom Gottfried <tom@intevation.de>
date Tue, 11 Oct 2022 11:42:09 +0200
parents cfc0aab9947f
children 7227621f8496
line wrap: on
line source
Configure:
_ Change 'localhost' to the hostname of your docker host in
  artifacts/doc/conf/floodmap.xml and artifacts/doc/conf/rivermap.xml
_ Change 'example.com' to the hostname of your docker host plus ':8082' in
  artifacts/doc/conf/conf.xml
_ Add to gwt-client/config/mapfish/config.yaml to enable map printing:
  - !dnsMatch
    host: <your-host>
    port: 8081


Build and run:

$ cd docker
$ docker-compose up

The application should now be accessible on your docker host under
port 8080 and path /d4e-river (e.g. http://your-host:8080/d4e-river).
See docker/flys_user_file for credentials.


TODO:
_ Avoid having to change configuration manually
_ Something better than setting framework and http-client to a branch
  explicitly in the Dockerfiles

http://dive4elements.wald.intevation.org