view docker/README @ 9765:7a51e6321a4e 3.2.x

Avoid API that is removed in Java 11
author Tom Gottfried <tom@intevation.de>
date Thu, 12 Jan 2023 18:01:34 +0100
parents 9bbb29142ddb
children 3847836c60b5
line wrap: on
line source
Configure:
_ Add to gwt-client/config/mapfish/config.yaml to enable map printing:
  - !dnsMatch
    host: <your-host>
    port: 8080


Build and run:

$ cd docker
$ docker-compose up

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


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