view docker/README @ 9797:74bbf3c5d1ec 3.2.x

Fixup rev. cd07130ded8d ... which missed to set the URIEncoding for the AJP connector. This led to encoding errors in map printing if URL parameters contained non-ASCII characters.
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Nov 2023 17:59:28 +0100
parents a00bb9d39c16
children 5141e37b9ef0
line wrap: on
line source
Configure:
_ Add to gwt-client/config/mapfish/config.yaml to enable map printing:
  - !dnsMatch
    host: <your-host>
    port: <your-host-port>


Build and run:

$ cd docker
$ docker-compose up

Lookup the allocated host port:

$ docker compose port wiki 80

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

In case an Oracle database should be used, the server service has to be
build with a build-time argument:

$ docker-compose build --build-arg ORACLE=true server

Remote debugging:

To enable remote debugging of the artifact server, uncomment the respective
lines in docker-compose.yml, recreate the service and e.g. attach with JDB:
$ docker-compose up -d
$ jdb -attach <your-docker-host>:8787 -sourcepath<your-checkout>/artifacts/src/main/java


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