Skip to content

Commit eb9ebb7

Browse files
author
Dementii Priadko
committed
Commented target-db in docker-compose
1 parent 5bb9ea5 commit eb9ebb7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docker-compose.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ services:
2222
"
2323
2424
# Target Database - The PostgreSQL database being monitored
25-
target-db:
26-
image: postgres:15
27-
container_name: target-db
28-
environment:
29-
POSTGRES_DB: target_database
30-
POSTGRES_USER: postgres
31-
POSTGRES_PASSWORD: postgres
32-
command: ["postgres", "-c", "shared_preload_libraries=pg_stat_statements", "-c", "pg_stat_statements.track=all"]
33-
ports:
34-
- "5432:5432"
35-
volumes:
36-
- target_db_data:/var/lib/postgresql/data
37-
- ./config/target-db/init.sql:/docker-entrypoint-initdb.d/init.sql
25+
# target-db:
26+
# image: postgres:15
27+
# container_name: target-db
28+
# environment:
29+
# POSTGRES_DB: target_database
30+
# POSTGRES_USER: postgres
31+
# POSTGRES_PASSWORD: postgres
32+
# command: ["postgres", "-c", "shared_preload_libraries=pg_stat_statements", "-c", "pg_stat_statements.track=all"]
33+
# ports:
34+
# - "5432:5432"
35+
# volumes:
36+
# - target_db_data:/var/lib/postgresql/data
37+
# - ./config/target-db/init.sql:/docker-entrypoint-initdb.d/init.sql
3838

3939
# Postgres Sink - Storage for metrics in PostgreSQL format
4040
sink-postgres:
@@ -77,7 +77,7 @@ services:
7777
depends_on:
7878
- sources-generator
7979
- sink-postgres
80-
- target-db
80+
# - target-db
8181
volumes:
8282
- ./config/pgwatch-postgres/sources.yml:/etc/pgwatch/sources.yml
8383
- ./config/pgwatch-postgres/metrics.yml:/etc/pgwatch/metrics.yml
@@ -93,7 +93,7 @@ services:
9393
depends_on:
9494
- sources-generator
9595
- sink-prometheus
96-
- target-db
96+
# - target-db
9797
volumes:
9898
- ./config/pgwatch-prometheus/sources.yml:/etc/pgwatch/sources.yml
9999
- ./config/pgwatch-prometheus/metrics.yml:/etc/pgwatch/metrics.yml
@@ -127,7 +127,7 @@ services:
127127
- "5000:5000"
128128

129129
volumes:
130-
target_db_data:
130+
# target_db_data:
131131
sink_postgres_data:
132132
prometheus_data:
133133
grafana_data:

0 commit comments

Comments
 (0)