We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e9541 commit 5b634b3Copy full SHA for 5b634b3
docker-compose.yml
@@ -36,7 +36,7 @@ services:
36
37
38
db:
39
- image: postgres:12.1-alpine
+ image: timescale/timescaledb:latest-pg12
40
container_name: grafolean-snmp-db
41
volumes:
42
# You should always save DB data to a host directory unless you are prepared to lose it. By default
@@ -50,7 +50,7 @@ services:
50
- POSTGRES_PASSWORD=${DB_PASS:-admin}
51
restart: always
52
healthcheck:
53
- test: ["CMD-SHELL", "pg_isready -h db -t 1 -q"]
+ test: ["CMD-SHELL", "pg_isready -h db -U ${DB_USER:-admin} -t 1 -q"]
54
interval: 10s
55
timeout: 5s
56
retries: 3
0 commit comments