Skip to content

Commit b851d3c

Browse files
committed
Specifies volume mount types and attributes
Adds explicit volume types and attributes for enhanced configuration and clarity. This ensures proper volume handling and read-only access where applicable.
1 parent 7cdbe95 commit b851d3c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docker-compose.coolify.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,18 @@ services:
9292
- sources-generator
9393
- sink-postgres
9494
volumes:
95-
- ./config/pgwatch-postgres/sources.yml:/etc/pgwatch/sources.yml
96-
- ./config/pgwatch-postgres/metrics.yml:/etc/pgwatch/metrics.yml
95+
- type: bind
96+
source: ./config/pgwatch-postgres/sources.yml
97+
target: /etc/pgwatch/sources.yml
98+
read_only: true
99+
is_directory: false
100+
content: ""
101+
- type: bind
102+
source: ./config/pgwatch-postgres/metrics.yml
103+
target: /etc/pgwatch/metrics.yml
104+
read_only: true
105+
is_directory: false
106+
content: ""
97107

98108
# PGWatch Instance 2 - Monitoring service (Prometheus sink)
99109
pgwatch-prometheus:

0 commit comments

Comments
 (0)