Skip to content

Explicit Caddyfile #459

@samdark

Description

@samdark

Proposed new feature or change

Use explicit Caddyfiles for Docker instead of relying on the default one in the FrankenPHP image.

Reasons:

  1. Majority of Caddy/FrankenPHP config is multi-line JSON-like syntax. FrankenPHP provides environment variables by default but that doesn't play well with .env, Dockerfile or other means to set variables because mostly these are tailorder for single-line inputs.
  2. Default config is suboptimal.
  3. It simplifies switching to worker mode a lot.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions