From a6cd07077a7f0b01488b0bfce8a6b2fdbe207a49 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sun, 3 Nov 2019 01:26:13 -0700 Subject: [PATCH] docker-compose: Wrap DSN values in quotes so spaces are allowed --- docker-compose.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index 3b77552..95ebd1d 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -133,7 +133,7 @@ // The connection string for the database. Constructed from db_args. db_connect:: std.join(" ", [ - "%s=%s" % [key, $.db_args[key]] + "%s='%s'" % [key, $.db_args[key]] for key in std.objectFields($.db_args) ]),