Skip to main content

Failing to get Mercure Hub up and running in Platform.sh

Comments

2 comments

  • Official comment
    Florent Huck

    Hi Dayton Outar, 

    Did you had a look on this multiple app blogpost?

    I guess it could help as it is right your configuration.

    On step 5 (Step 5: Configure mercure) you will find some useful info on how to configure it. 

    In the web.commands.start, you miss to specify which Caddyfile is loaded: 

    start: ./mercure run --config Caddyfile.platform_sh

    Could you please share your Caddyfile and your mercure.sh scripts ?

    And I can see that a source.root is missing:

      source:
        # The path where the app code lives. Defaults to the directory of the .platform.app.yaml file. Useful for multi-app setups.
        root: mercure/.config

    I didn't tested yet using a relationships from app to mercure to allow my Symfony application talk with mercure this way so i can't tell if it works. 

     

     

     

  • Florent Huck

    Hi Dayton Outar, 
     

    Did you manage to make it work? 

    0

Please sign in to leave a comment.