Commit 863edf4
fix(docker): configure Loki tmpfs with correct UID for non-root operation
Loki 3.0.0 runs as a non-root user (UID 10001) by default. The tmpfs
mount at /loki must be owned by this user for Loki to write its data.
Solution: Set tmpfs uid=10001,gid=10001 to match the Loki container user.
This approach maintains non-root security posture matching K8s deployments.
Also ensure loki-config.yaml has world-readable permissions (mode 644)
so the non-root Loki user can read the mounted config file.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2d5908c commit 863edf4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
| 639 | + | |
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
| |||
0 commit comments