Skip to content

Caddyfile override #31

@agarov

Description

@agarov

I don't know if this project is still maintained but anyway, currently in the Dockerfile we copy the Caddyfile at this path :
COPY Caddyfile /etc/caddy/Caddyfile
But the base image dunglas/frankenphp:1-php8.3 is not using this Caddyfile anymore but the one at this path /etc/frankenphp/Caddyfile as you can see when inspecting the base image : Entrypoint: [docker-php-entrypoint] CMD: [--config /etc/frankenphp/Caddyfile --adapter caddyfile].

So if anyone is still trying to use this repo I suggest you change :
COPY Caddyfile /etc/caddy/Caddyfile to COPY Caddyfile /etc/frankenphp/Caddyfile

As a general suggestion you should take a look at this repository https://github.com/dunglas/symfony-docker/tree/main/frankenphp that is still maintained but you will have to tweak it a little bit to switch from symfo to drupal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions