Skip to content

Conversation

@dbu
Copy link
Contributor

@dbu dbu commented Jul 11, 2024

it took me quite a while to figure what the URLs are (they are defined in the compose.yaml file). i think it would be worth it to explain here, because none of the linked pages talk about that.

dunglas and others added 2 commits July 12, 2024 10:56
Co-authored-by: David Buchmann <david@liip.ch>
docs/mercure.md Outdated
![Mercure](mercure-hub.png)

To enable the Mercure hub, update the `Caddyfile` as described [on Mercure's site](https://mercure.rocks/docs/hub/config).
The path to send data as well as the path of the public URL for clients is `/.well-known/mercure`. When running FrankenPHP inside Docker, the full send URL would look like `http://php//.well-known/mercure` (with `php` being the name of the container running FrankenPHP).
Copy link
Member

@dunglas dunglas Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, for Docker this is more complicated than that because HTTPS needs to be disabled for the internal UR. Maybe can we just add a like to what we've done in Symfony Docker?

Or even copy this example configuration here in a new Docker section?

@dunglas dunglas merged commit 75ce2e2 into php:main Jun 2, 2025
@dunglas
Copy link
Member

dunglas commented Jun 2, 2025

Thanks, and sorry for the delay!

@dbu dbu deleted the patch-1 branch June 2, 2025 14:29
henderkes pushed a commit to mhpcc/frankenphp that referenced this pull request Jun 5, 2025
* clarify mercure URLs

* Update docs/mercure.md

Co-authored-by: David Buchmann <david@liip.ch>

* Update mercure.md

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants