juxt / pack.alpha

Package clojure projects
MIT License
259 stars 35 forks source link

Support setting volumes in docker containers #98

Closed RickMoynihan closed 2 years ago

RickMoynihan commented 2 years ago

Setting volumes in the images would be useful, to help reconfiguring containers for specific environments, and to support long-term storage from the container.

e.g.

(pack/docker {:basis my-basis
                        :image-name "my/image"
                        :volumes #{"/logs" "/config"} ;; <--It would be useful to be able to do this
)