view docker/README @ 9736:492f8e615c38 3.2.x

Docker-friendly default configuration
author Tom Gottfried <tom@intevation.de>
date Mon, 25 Jul 2022 12:30:42 +0200
parents 95496d21b4da
children 414647dc6936
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


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
_ Allow running artifact server with `-v $PWD:/opt/d4e/river'
  (currently this leads to missing h2 databases)
_ Let all components log to stdout to enable useful usage of `docker logs'
_ Something better than setting framework and http-client to a branch
  explicitly in the Dockerfiles

http://dive4elements.wald.intevation.org