Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Update README.md to add database password to example commands
Browse files Browse the repository at this point in the history
  • Loading branch information
antekresic committed Sep 18, 2019
1 parent 3dc4891 commit bea6477
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ 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:
```
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
```

Expand Down

0 comments on commit bea6477

Please sign in to comment.