From 844076cd6d47e38525f23f0035535a45cf07e318 Mon Sep 17 00:00:00 2001 From: Sylvain Rabot Date: Tue, 2 Oct 2018 14:15:39 +0200 Subject: [PATCH] Add dbname to example to avoid confusion --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab806f63..350a11b1 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This package is available for Docker: # Start an example database docker run --net=host -it --rm -e POSTGRES_PASSWORD=password postgres # Connect to it -docker run --net=host -e DATA_SOURCE_NAME="postgresql://postgres:password@localhost:5432/?sslmode=disable" wrouesnel/postgres_exporter +docker run --net=host -e DATA_SOURCE_NAME="postgresql://postgres:password@localhost:5432/postgres?sslmode=disable" wrouesnel/postgres_exporter ``` ## Building and running