#7 - Fix in the docs
This commit is contained in:
parent
eac181d189
commit
9511f82dfe
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue