You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM caddy:2-builder AS builder
RUN \
apk update && \
apk add gcc brotli-dev musl-dev && \
CGO_ENABLED=1 \
xcaddy build \
--with github.com/dunglas/mercure/caddy \
--with github.com/dunglas/caddy-cbrotli \
--with github.com/evilmartians/caddy_anycable
FROM caddy:2
RUN apk add --no-cache brotli-libs
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
With newer Mercure versions, I'm getting a panic. It might be related to having two domains with mercure configured in my Caddyfile, because with only one it's fine.
I'm guessing it might be related to this commit: 107e6b8
As a temporary workaround for this issue, I have downgraded the versions of Caddy, Mercure, and Vulcain in my Dockerfile to keep my existing API Platform project operational.
Here are parts of my Dockerfile:
ARG CADDY_VERSION=2.8.4
FROM php:${PHP_VERSION}-fpm-alpine AS api_platform_php
# ... other instructions ...RUN xcaddy build \
--with github.com/dunglas/mercure@v0.17.1 \
--with github.com/dunglas/mercure/caddy@v0.17.1 \
--with github.com/dunglas/vulcain/caddy@v1.0.5
# ... other instructions ...
I'm building Mercure using this Dockerfile:
With newer Mercure versions, I'm getting a panic. It might be related to having two domains with mercure configured in my Caddyfile, because with only one it's fine.
I'm guessing it might be related to this commit: 107e6b8
The text was updated successfully, but these errors were encountered: