File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ postgres-logs /
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ services:
9696 POSTGRES_DB : sqlpage
9797 volumes :
9898 - ./postgres-init:/docker-entrypoint-initdb.d:ro
99- - postgres-logs:/var/log/postgresql
99+ - ./ postgres-logs:/var/log/postgresql:z
100100 healthcheck :
101101 test : ["CMD-SHELL", "pg_isready -U sqlpage"]
102102 interval : 2s
@@ -107,7 +107,7 @@ services:
107107 user : " 0:0"
108108 volumes :
109109 - ./otel-collector.yaml:/etc/otelcol-contrib/config.yaml:ro
110- - postgres-logs:/var/log/postgresql:ro
110+ - ./ postgres-logs:/var/log/postgresql:ro,z
111111 ports :
112112 - " 4317:4317"
113113 - " 4318:4318"
@@ -155,13 +155,10 @@ services:
155155 - GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/sqlpage/sqlpage-home.json
156156 - GF_NEWS_NEWS_FEED_ENABLED=false
157157 volumes :
158- - ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:ro
159- - ./grafana/dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml:ro
160- - ./grafana:/etc/grafana/provisioning/dashboards/sqlpage:ro
158+ - ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:ro,z
159+ - ./grafana/dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml:ro,z
160+ - ./grafana:/etc/grafana/provisioning/dashboards/sqlpage:ro,z
161161 depends_on :
162162 - tempo
163163 - loki
164164 - prometheus
165-
166- volumes :
167- postgres-logs :
You can’t perform that action at this time.
0 commit comments