#7 - Fix in the docs

This commit is contained in:
Tim Zöller 2020-06-06 18:40:43 +02:00
parent eac181d189
commit 9511f82dfe

View file

@ -23,7 +23,8 @@ The library provides a set of functions to interact with the testcontainers. A s
:env-vars {"POSTGRES_PASSWORD" "verysecret"}}) :env-vars {"POSTGRES_PASSWORD" "verysecret"}})
(tc/configure-volume! {:file-system-bind {:host-path "/tmp" (tc/configure-volume! {:file-system-bind {:host-path "/tmp"
:container-path "/opt" :container-path "/opt"
:mode :read-only}}))) :mode :read-only}})
(tc/start!))
(do-database-testing (:host container) (do-database-testing (:host container)
(get (:mapped-ports container) 5432)) (get (:mapped-ports container) 5432))