From c0628d648fdb652013422061da7e02b53bf40dd3 Mon Sep 17 00:00:00 2001 From: Burin Choomnuan Date: Sun, 5 Jul 2020 08:39:17 -0400 Subject: [PATCH] Fix the example in README (#10) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9021ec6..a71f0b7 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ The library provides a set of functions to interact with the testcontainers. A s (def container (-> (tc/create {:image-name "postgres:12.1" :exposed-ports [5432] :env-vars {"POSTGRES_PASSWORD" "verysecret"}}) - (tc/configure-volume! {:file-system-bind {:host-path "/tmp" - :container-path "/opt" - :mode :read-only}}) + (tc/bind-filesystem {:host-path "/tmp" + :container-path "/opt" + :mode :read-only}) (tc/start!)) (do-database-testing (:host container)