Skip to content

fix: mount dev compose volume to writable path#134

Merged
chaptersix merged 2 commits intomainfrom
fix/docker-compose-dev-sqlite-permissions
Mar 10, 2026
Merged

fix: mount dev compose volume to writable path#134
chaptersix merged 2 commits intomainfrom
fix/docker-compose-dev-sqlite-permissions

Conversation

@chaptersix
Copy link
Contributor

@chaptersix chaptersix commented Mar 10, 2026

Summary

  • Fix SQLite "out of memory" error in docker-compose-dev.yml caused by the volume mounting to /data (root-owned) while the container runs as the temporal user
  • Mount the volume to /home/temporal instead, which is already owned by the temporal user
  • Add CI test job for docker-compose-dev.yml to catch this class of issue

Test plan

  • Verified locally that docker compose -f docker-compose-dev.yml up starts successfully
  • CI compose-dev-test job passes

The SQLite DB file could not be created at /data because the volume
is root-owned but the container runs as the temporal user. Mount to
/home/temporal instead, which is already owned by the temporal user.
Adds a compose-dev-test job that validates the dev compose file starts
correctly and Temporal is functional. This would have caught the
SQLite permission issue.
@chaptersix chaptersix requested a review from a team as a code owner March 10, 2026 22:17
@chaptersix chaptersix merged commit 7c22fa0 into main Mar 10, 2026
22 of 23 checks passed
@chaptersix chaptersix deleted the fix/docker-compose-dev-sqlite-permissions branch March 10, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant