We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7a8374 commit 3b994ebCopy full SHA for 3b994eb
2 files changed
.kamal/hooks/docker-setup
@@ -29,5 +29,10 @@ for HOST in "${HOSTS[@]}"; do
29
30
chown --recursive app:app /var/media
31
echo '/var/media ownership changed to app:app'
32
+
33
+ mkdir --parents /var/prometheus
34
35
+ chown --recursive nobody /var/prometheus
36
+ echo '/var/prometheus ownership changed to nobody'
37
"
38
done
config/deploy.yml
@@ -30,8 +30,8 @@ accessories:
port: "9090:9090"
files:
- config/prometheus.yml:/etc/prometheus/prometheus.yml
- directories:
- - prometheus-data:/prometheus
+ volumes:
+ - /var/prometheus:/prometheus
roles:
- web
0 commit comments