From 9e022223c8ddc9735c5e227a017ce06428554816 Mon Sep 17 00:00:00 2001 From: Karol Kulik Date: Tue, 20 Nov 2018 11:48:06 +0100 Subject: [PATCH] Added sql that adds missing postgres role. --- docker-compose.yml | 2 ++ postgresql/init.sql | 1 + 2 files changed, 3 insertions(+) create mode 100644 postgresql/init.sql diff --git a/docker-compose.yml b/docker-compose.yml index e474306..c74f227 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: - "5435:5432" volumes: - ./data/db:/var/lib/postgresql/data + - ./postgresql/init.sql:/docker-entrypoint-initdb.d/init.sql solr: build: solr7/ @@ -53,3 +54,4 @@ services: networks: dvn: driver: bridge + diff --git a/postgresql/init.sql b/postgresql/init.sql new file mode 100644 index 0000000..625ee1f --- /dev/null +++ b/postgresql/init.sql @@ -0,0 +1 @@ +CREATE ROLE postgres LOGIN; \ No newline at end of file