Skip to content

Change default cache dir to match kamal config #72

@bendangelo

Description

@bendangelo

By default kamal doesn't allow writing to the public dir. I recommend changing the default dir to something writable when using the default dockerfile and kamal.

  config.action_controller.page_cache_directory = Rails.root.join("tmp", "cached_pages")

Workds better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions