Skip to content

fix(docker): caddy storage on read-only rootfs - #20

Merged
casperbiering merged 1 commit into
mainfrom
fix/caddy-storage-paths
Aug 24, 2026
Merged

fix(docker): caddy storage on read-only rootfs#20
casperbiering merged 1 commit into
mainfrom
fix/caddy-storage-paths

Conversation

@casperbiering

Copy link
Copy Markdown
Member

Summary

  • Point FrankenPHP/Caddy at tmpfs /config and /data via octane.caddy.env
  • Disable persist_config (no autosave needed behind cloudflared)
  • Entrypoint mkdir /config/caddy and /data/caddy

Test plan

  • docker build -t test . then run read-only — no autosave/storage clean errors

Point Caddy at tmpfs /config and /data, disable config autosave, mkdir caddy dirs in entrypoint.
@casperbiering
casperbiering marked this pull request as ready for review August 24, 2026 21:40
@casperbiering
casperbiering merged commit b8addbe into main Aug 24, 2026
2 checks passed
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