Skip to content

Commit

Permalink
tested docker/run command syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Aug 26, 2023
1 parent d9e5a9e commit edb58c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/com/github/jlangch/venice/docker.venice
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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*))))


Expand Down

0 comments on commit edb58c7

Please sign in to comment.