Install xibo 1.8 Docker as https on Windows

I’m new to Xibo, and have a query installing the CMS on MS Win10 platform.
I’m following youtube video


or

I’ve installed XAMPP, and then copied/renamed Xibo to the C:\xampp\htdocs, as instructed in the video, and then in the browser put ‘localhost/xibo’ but there is no “Welcome to the Xibo installtion” as there is
install.php file in the top directory.

.

I’ve installed Xibo 1.8 Docker install Windows 10, but is there any information of how to switch the server from http (port 80) to https (port 443)? I’m worried to make the switch as probably lose contact with the server, and not be able to get it back.

Thank you for the information about your CMS installation. I have included 2 links below to solutions you can use for setting up HTTPS:

https://traefik.io/

Both of the above links also provide instructions on how to set them up.

Many Thanks.

Thanks for that info. I’m quite a state of confusion on this matter:

o Firstly, more general question, is it worth switching over to https, or do most Xibo users leave it http? I want to know if its worth the trouble of trying to switch it.

o Secondly, I come across sites that refer to editing cms_custom ports.yml.template or docker-compose.yml file

e.g. Docker documentation on ports

so would it make sense in one (or both?) of these files to change port to say

ports:
- “443:80”

and then run a suitable docker-compose command. Or have I completly misunderstood which “port” this actually refers to?

o Thirdly, other websites (for Linux installs) refer to have to install apache and instigate a proxy server - is this what your referencing to with the above links?

Is there a guide/web-page that specifies what has to be done and why?

yours,
hardip

Whether HTTPS is worth setting up will depend on your network setup and personal preference.

The main benefit of configuring HTTPS would be security, as all communications between the Player and CMS would be encrypted. If your CMS will be available across the wider Internet as opposed to a local network, I would definitely recommend the extra security, in fact I might even suggest it is essential to ensure your communications are secure.

When using Custom Ports for your CMS, it is recommended to use the cms_custom-ports.yml file and keep the docker-compose.yml file for the default settings. You will only use docker-compose.yml or cms_custom-ports.yml, so you do not need to edit both. In fact, if you open both files in a text editor, you will see that they are essentially the same, except for some minor differences to the Port settings.

I would personally recommend using the cms_custom-ports.yml if you decide to configure HTTPS, as this ensures that you still have the docker-compose.yml to refer to for default values, or to revert to should you decide not to use HTTPS.

I have also included a link below to our Windows Installation Guide, which contains a section on custom port setup as well as SSL/HTTPS. This will help you to understand the best way to configure your ports.

https://xibo.org.uk/docs/setup/xibo-for-docker-on-windows-10-64-bit

Please also note that you will need to run a different command when starting your Docker containers, if you are using the cms_custom-ports.yml file.

Normally you would run docker-compose up -d if you are using docker-compose.yml.

When using the custom port yml, you would instead run docker-compose -f cms_custom-ports.yml up -d as you need to inform Docker that the configuration file is different to the default.

You will need to install a web sever that will be configured as a reverse proxy for your CMS. The links I provided are examples that can be used within your Docker environment and also include instructions on how to set them up. This is essential to setting up SSL/HTTPS.

I hope this helps you to understand what is required when setting up SSL/HTTPS and what is the best option for you.

Many Thanks.

Hi,

that really clarifies things, and as you say its actually described in the web-link in regards to the proxy server.
The CMS is on a secure private network. so I don’t we need to worry about putting it on https, but your email very much clarrifies the issue.

Thanks.

That’s great to hear, I’m glad the information was helpful. At least if you decide to set up SSL/HTTPS in the future, you have the information you need.

If you have any further questions, just let me know.

Many Thanks.

Hello dan i have used the link in your message above https://xibo.org.uk/docs/setup/xibo-for-docker-on-windows-10-64-bit but when i fill in the command (docker-compose up -d) it completes pulling files from the database but it doesnt start up the xibo cms and if i try to fill in Localhost/ in the searchbar it shows : Fatal Error - sorry this shouldn’t happen. SQLSTATE[HY000] [1045] Access denied for user ‘cms’@‘172.18.0.4’ (using password: NO)
and if i fill in docker-compose start; it says its done with starting but it doesnt show up on my screen

Thank you for your message. Can you confirm that you have completed all of the steps in the guide, including entering a password in your config.env file in the section shown in my screenshot below?

image

Can you also confirm you are running the docker compose up -d command from an elevated Powershell window, having right clicked on it and chosen Open as Administrator?

Finally please confirm which edition of Windows 10 you are using?

Many Thanks.