diff docker/docker-compose.yml @ 9760:9bbb29142ddb 3.2.x

Give hints for remote debugging artifact server
author Tom Gottfried <tom@intevation.de>
date Thu, 10 Nov 2022 15:42:16 +0100
parents 0834c2591e14
children b5d4cb088737
line wrap: on
line diff
--- a/docker/docker-compose.yml	Thu Nov 10 15:39:07 2022 +0100
+++ b/docker/docker-compose.yml	Thu Nov 10 15:42:16 2022 +0100
@@ -21,6 +21,11 @@
     volumes:
       - ../artifacts/doc/conf:/opt/d4e/bin/conf
       - artifacts-data:/opt/d4e/bin/artifacts-data
+    # Uncomment to enable remote debugging from anywhere (caution: security risk!)
+    # environment:
+    #   - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8787
+    # ports:
+    #   - 8787:8787
   mapserv:
     container_name: "d4eriver-mapserv"
     build:

http://dive4elements.wald.intevation.org