You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Wido den Hollander <wi...@widodh.nl> on 2022/09/06 14:56:15 UTC
Running the UI on Docker container
Hi,
Anybody there running the UI outside the Management Server in a Docker
container like described here?
https://github.com/apache/cloudstack/tree/main/ui
I have a use-case for this we would like to investigate, but the build
currently fails [0].
Is this still relevant and supported?
Wido
[0]: https://github.com/apache/cloudstack/issues/6709
Re: Running the UI on Docker container
Posted by Nux <nu...@li.nux.ro>.
Unless you're adamant on _building_ the UI, then you could create a
docker container with the rpm/deb instead, if that helps.
---
Nux
www.nux.ro
On 2022-09-07 08:34, Nux wrote:
> Wido,
>
> I've just run the UI standalone on a separate machine the other day,
> but not on docker.
> What I did was to install cloudstack-ui rpm package, then serve it
> like a normal site, but proxy /client to mgmt-server:8000 like
> described here:
>
> https://github.com/apache/cloudstack/tree/main/ui#production
>
> hth
>
> ---
> Nux
> www.nux.ro
>
> On 2022-09-06 15:56, Wido den Hollander wrote:
>> Hi,
>>
>> Anybody there running the UI outside the Management Server in a Docker
>> container like described here?
>>
>> https://github.com/apache/cloudstack/tree/main/ui
>>
>> I have a use-case for this we would like to investigate, but the build
>> currently fails [0].
>>
>> Is this still relevant and supported?
>>
>> Wido
>>
>> [0]: https://github.com/apache/cloudstack/issues/6709
Re: Running the UI on Docker container
Posted by Wido den Hollander <wi...@widodh.nl>.
Op 07-09-2022 om 09:34 schreef Nux:
> Wido,
>
> I've just run the UI standalone on a separate machine the other day, but
> not on docker.
> What I did was to install cloudstack-ui rpm package, then serve it like
> a normal site, but proxy /client to mgmt-server:8000 like described here:
>
> https://github.com/apache/cloudstack/tree/main/ui#production
>
Yes, true. Our scenario is that we want to have a single VM running
multiple versions of the UI with different config.json files.
Now technically we could also have the Proxy (NGINX/Apache) inject a
different config.json based on the hostname/url being requested and thus
influence the UI and how it behaves.
Running different Docker containers with different configurations is
also possible and we aren't sure yet on which route to take.
Our main idea is that we want to personalize and customize the UI to
better fit the look and feel of the company and other portals.
Wido
> hth
>
> ---
> Nux
> www.nux.ro
>
> On 2022-09-06 15:56, Wido den Hollander wrote:
>> Hi,
>>
>> Anybody there running the UI outside the Management Server in a Docker
>> container like described here?
>>
>> https://github.com/apache/cloudstack/tree/main/ui
>>
>> I have a use-case for this we would like to investigate, but the build
>> currently fails [0].
>>
>> Is this still relevant and supported?
>>
>> Wido
>>
>> [0]: https://github.com/apache/cloudstack/issues/6709
Re: Running the UI on Docker container
Posted by Nux <nu...@li.nux.ro>.
Wido,
I've just run the UI standalone on a separate machine the other day, but
not on docker.
What I did was to install cloudstack-ui rpm package, then serve it like
a normal site, but proxy /client to mgmt-server:8000 like described
here:
https://github.com/apache/cloudstack/tree/main/ui#production
hth
---
Nux
www.nux.ro
On 2022-09-06 15:56, Wido den Hollander wrote:
> Hi,
>
> Anybody there running the UI outside the Management Server in a Docker
> container like described here?
>
> https://github.com/apache/cloudstack/tree/main/ui
>
> I have a use-case for this we would like to investigate, but the build
> currently fails [0].
>
> Is this still relevant and supported?
>
> Wido
>
> [0]: https://github.com/apache/cloudstack/issues/6709