From 31f0aabcf11579727249804456f7c652837c9c32 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 29 Jul 2018 19:36:30 +0200 Subject: [PATCH] new: dev: [postgres] ``db_docker_opts`` now requires to set the network This should probably done in ``compose`` TBH. --- postgres/lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/lib/common b/postgres/lib/common index d8139cdc..67bcbf01 100644 --- a/postgres/lib/common +++ b/postgres/lib/common @@ -35,7 +35,7 @@ is_db_locked() { _set_db_params() { local docker_ip="$1" docker_network="$2" - export db_docker_opts="-e PGHOST=$docker_ip -e PGUSER=postgres" + export db_docker_opts="--network $docker_network -e PGHOST=$docker_ip -e PGUSER=postgres" export db_cmd_opts= }