We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2683b2 commit cdc1e62Copy full SHA for cdc1e62
docker/compose.pgwatch.yml
@@ -8,13 +8,16 @@ services:
8
container_name: pgwatch
9
environment:
10
PW_SOURCES: postgresql://pgwatch@postgres:5432/pgwatch
11
+ # PW_METRICS: /etc/pgwatch/metrics.yml
12
command:
13
- "--sink=postgresql://pgwatch@postgres:5432/pgwatch_metrics"
14
- "--sink=prometheus://pgwatch:9187/pgwatch"
15
ports:
16
- "8080:8080"
17
- "9187:9187"
18
# - "6060:6060" # Uncomment for profiling
19
+ volumes:
20
+ - "../internal/metrics/metrics.yaml:/etc/pgwatch/metrics.yml"
21
depends_on:
22
postgres:
23
condition: service_healthy
0 commit comments