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