Skip to content

Commit

Permalink
cap
Browse files Browse the repository at this point in the history
  • Loading branch information
constantineav committed Mar 7, 2024
1 parent 3ccfb34 commit f0e39da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clj/swarmpit/docker/engine/mapper/compose.clj
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
{:interval (str (:interval healthcheck) "s")}
{:timeout (str (:timeout healthcheck) "s")})))
:tty (-> service :tty)
:cap_add
:cap_drop
:environment (-> service :variables (name-value->sorted-map))
:ports (->> service :ports
(map #(str (:hostPort %) ":" (:containerPort %) (when (= "udp" (:protocol %)) "/udp"))))
Expand Down

0 comments on commit f0e39da

Please sign in to comment.