Mercurial > dive4elements > river
view docker/README @ 9790:75dc4ea60938 3.2.x
Drop using explicit container names
Compose will generate names for the containers and containers can connect
each other on the network via the service names. This avoids the
unnecessary extra "name space" and prepares the application for usage
with different project names.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 20 Jul 2023 10:25:59 +0200 |
parents | 3847836c60b5 |
children | a00bb9d39c16 |
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. 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