From edb58c7c7c3c8fc114e234fbeaa0ddf3317ed174 Mon Sep 17 00:00:00 2001 From: Juerg Lang Date: Sat, 26 Aug 2023 22:20:36 +0200 Subject: [PATCH] tested docker/run command syntax --- src/main/resources/com/github/jlangch/venice/docker.venice | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/com/github/jlangch/venice/docker.venice b/src/main/resources/com/github/jlangch/venice/docker.venice index 4ad91b085..52bd347b2 100644 --- a/src/main/resources/com/github/jlangch/venice/docker.venice +++ b/src/main/resources/com/github/jlangch/venice/docker.venice @@ -205,6 +205,7 @@ ;; Run an ArangoDB container (docker/run "arangodb/arangodb:3.10.10" :publish "8529:8529" + :detach true :envs ["ARANGO_ROOT_PASSWORD=xxxxxx" "ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY=8G" "ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES=1"] @@ -238,7 +239,7 @@ (into cmdargs* (interleave (lazy-seq (constantly "--env")) envs)) cmdargs*) cmdargs* (conj cmdargs* image-tag-or-id) - cmdargs* (if (and (some? args) (vector?)) (into cmdargs* args) cmdargs*)] + cmdargs* (if (and (some? args) (vector? args)) (into cmdargs* args) cmdargs*)] (:out (apply docker/cmd cmdargs*))))