Use the z option when mounting container volumes to allow sharing

This commit is contained in:
mprahl
2019-08-23 11:53:16 -04:00
parent 1ae7976a22
commit 14a9ef9974

View File

@@ -34,7 +34,7 @@ postgres_image="postgres:9.5.17"
test_container_name="mbs-test"
db_container_name="mbs-test-db"
source_dir="$(realpath "$(dirname "$0")/..")"
volume_mount="${source_dir}:/src:Z"
volume_mount="${source_dir}:/src:z"
db_name=mbstest
db_password=mbstest
pgdb_uri="postgresql+psycopg2://postgres:${db_password}@db/${db_name}"