Skip to content

Commit 1e42afd

Browse files
r33drichardsclaude
andcommitted
Fix tmpfs permissions for non-root user in docker-compose.yml
The tmpfs mount at /data defaults to root ownership, but the container runs as mcpuser (uid 1000). Set uid=1000,gid=1000 on the tmpfs mount so heap snapshots can be written. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c265b67 commit 1e42afd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- --session-db-path=/data/sessions
1616
- --opa-url=http://opa:8181
1717
tmpfs:
18-
- /data
18+
- /data:uid=1000,gid=1000
1919
ports:
2020
- "3000:3000"
2121
depends_on:

0 commit comments

Comments
 (0)