Skip to content

Commit c6221a6

Browse files
authored
Merge pull request #208 from icey-yu/fix-pro
fix: Prometheus start permission error
2 parents dab81ee + cf2c13c commit c6221a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ services:
144144
container_name: prometheus
145145
hostname: prometheus
146146
restart: always
147+
user: root
147148
volumes:
148149
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
149150
- ./config/instance-down-rules.yml:/etc/prometheus/instance-down-rules.yml

0 commit comments

Comments
 (0)