diff --git a/compose.override.yaml b/compose.override.yaml index 8a7596f..63c48db 100644 --- a/compose.override.yaml +++ b/compose.override.yaml @@ -18,6 +18,19 @@ services: # Ensure that host.docker.internal is correctly defined on Linux - host.docker.internal:host-gateway tty: true + ports: + # HTTP + - target: 80 + published: ${HTTP_PORT:-80} + protocol: tcp + # HTTPS + - target: 443 + published: ${HTTPS_PORT:-443} + protocol: tcp + # HTTP/3 + - target: 443 + published: ${HTTP3_PORT:-443} + protocol: udp ###> symfony/mercure-bundle ### ###< symfony/mercure-bundle ### diff --git a/compose.yaml b/compose.yaml index 56252d7..0439791 100644 --- a/compose.yaml +++ b/compose.yaml @@ -18,19 +18,7 @@ services: volumes: - caddy_data:/data - caddy_config:/config - ports: - # HTTP - - target: 80 - published: ${HTTP_PORT:-80} - protocol: tcp - # HTTPS - - target: 443 - published: ${HTTPS_PORT:-443} - protocol: tcp - # HTTP/3 - - target: 443 - published: ${HTTP3_PORT:-443} - protocol: udp + # Mercure is installed as a Caddy module, prevent the Flex recipe from installing another service ###> symfony/mercure-bundle ###