summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-04-17 08:16:37 +0200
committerluccioman <luccioman@users.noreply.github.com>2018-04-17 08:16:37 +0200
commit02673379df88bdf476b41ab0c5bda99dc3b2fbce (patch)
treed1ea8bd95ba13e459a1ad4eb2c8460938ac1d489 /docker/Dockerfile
parenta3ec7a7a5f7cc6d96e7d6bb2656b7c466e83ab28 (diff)
Added a start script option to run as a foreground process without JMX
Contrary to the -d/--debug option which opens the 9999 port thus allowing remote monitoring with JVM tools such as JConsole.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 0c1d0584f..0de3ea251 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -52,5 +52,5 @@ VOLUME ["/opt/yacy_search_server/DATA"]
# Next commands run as yacy as non-root user for improved security
USER yacy
-# Start yacy in debug mode (-d) to display console logs and to wait for yacy process
-CMD ["/bin/sh","/opt/yacy_search_server/startYACY.sh","-d"]
+# Start yacy as a foreground process (-f) to display console logs and to wait for yacy process
+CMD ["/bin/sh","/opt/yacy_search_server/startYACY.sh","-f"]