From bea6477e091782bc7939e57e37848b70564b1b82 Mon Sep 17 00:00:00 2001 From: Ante Kresic Date: Mon, 16 Sep 2019 15:07:50 +0200 Subject: [PATCH] Update README.md to add database password to example commands --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 488ab6a..e733b92 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ docker image. To run this image use: ``` -docker run --name pg_prometheus -d -p 5432:5432 timescale/pg_prometheus:latest postgres \ - -csynchronous_commit=off +docker run --name pg_prometheus -d -e POSTGRES_PASSWORD=mypass -p 5432:5432 timescale/pg_prometheus:latest \ + postgres -csynchronous_commit=off ``` Then, start the prometheus-postgreSQL storage adapter using: @@ -32,6 +32,7 @@ Then, start the prometheus-postgreSQL storage adapter using: docker run --name prometheus_postgresql_adapter --link pg_prometheus -d -p 9201:9201 \ timescale/prometheus-postgresql-adapter:latest \ -pg-host=pg_prometheus \ + -pg-password=mypass \ -pg-prometheus-log-samples ```