Skip to content

Commit

Permalink
Use TimescaleDB instead of base PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Anze committed Nov 18, 2020
1 parent 03e9541 commit 5b634b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:


db:
image: postgres:12.1-alpine
image: timescale/timescaledb:latest-pg12
container_name: grafolean-snmp-db
volumes:
# You should always save DB data to a host directory unless you are prepared to lose it. By default
Expand All @@ -50,7 +50,7 @@ services:
- POSTGRES_PASSWORD=${DB_PASS:-admin}
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -h db -t 1 -q"]
test: ["CMD-SHELL", "pg_isready -h db -U ${DB_USER:-admin} -t 1 -q"]
interval: 10s
timeout: 5s
retries: 3
Expand Down

0 comments on commit 5b634b3

Please sign in to comment.