salletti / symfony-ddd-example

MIT License
161 stars 26 forks source link

Error on docker-compose up #3

Open webdeweloper opened 2 years ago

webdeweloper commented 2 years ago

caddy_1 | {"level":"info","ts":1665919978.9603379,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"} caddy_1 | {"level":"warn","ts":1665919978.960401,"logger":"caddyfile","msg":"DEPRECATED: protocol sub-option will be removed soon"} caddy_1 | Error: adapting config using caddyfile: parsing caddyfile tokens for 'servers': /etc/caddy/Caddyfile:7 - Error during parsing: unrecognized protocol option 'experimental_http3' symfony-ddd-example_caddy_1 exited with code 1

herdrael commented 2 years ago

I confirm that I have a similar problem, I attach the logs below.

Снимок экрана 2022-11-05 в 13 28 58
ancafe commented 1 year ago

https://github.com/salletti/symfony-ddd-example/blob/master/docker/caddy/Caddyfile

Change

    servers {
        protocol {
            experimental_http3
        }
    }

by

    servers {
        protocols h1 h2 h3
    }

it works for me

qualeo commented 1 year ago

See https://github.com/mtarld/apip-ddd/issues/33 and https://github.com/dunglas/symfony-docker/issues/290 for fixes to this on other projects.