windmill-labs / windmilldocs

Creative Commons Attribution Share Alike 4.0 International
14 stars 40 forks source link

Extended Documentation for windmill private hub #661

Closed kushagra-saxena-exa closed 3 months ago

kushagra-saxena-exa commented 3 months ago

I am trying to deploy a private hub on my cluster. However the documentation is not vert vast and explanatory for the private hub.

(Ref: https://www.windmill.dev/docs/core_concepts/private_hub)

It would be great if we can know the environment variables we can use to customize the hub. Or how to deploy on a private cluster.

HugoCasa commented 3 months ago

Hi @kushagra-saxena-exa You'll find on the doc page a link to a repo with instructions on how to set it up using docker. There are also options for the hub at the end of the values file in the Windmill helm chart to easily integrate it into an existing windmill cluster.

kushagra-saxena-exa commented 3 months ago

I went through it and set the LICENSE_KEY, PUBLIC_APP_URL, PUBLIC_PRIVATE_HUB, DATABASE_URL

also the COOKIE_URL is set in my server container running as separate deployment.

For ex- My Server is exposed on windmill.dev.myweb.com and hub is hosted on hub.windmill.dev.myweb.com and i've set the cookie url as windmill.dev.myweb.com . However, the login button on the hub page tries to redirect my to https://hub.windmill.dev.myweb.com/user/windmill.dev.myweb.com/user/login?rd=https%3A%2F%2Fhub.windmill.dev.myweb.com%2F

Which seems like an unexpected behaviour and I need some help on this. Let me know if you know any steps to correctly setup this? @HugoCasa

rubenfiszel commented 3 months ago

@kushagra-saxena-exa Did you set: PUBLIC_APP_URL without http/https prefix ?

kushagra-saxena-exa commented 3 months ago

Interesting, You're correct. Setting it with Https resolved the issue.

Thanks :)