Open another port in Dashticx container

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
fargle
Posts: 67
Joined: Tuesday 27 March 2018 17:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Open another port in Dashticx container

Post by fargle »

Hi Lokoni

As well as Dashticz running in Docker on port 8082 I have a Madsonic music server set up on the same device running directly on port 4040, both work fine. But when the player is accessed through Dashticz, only some music player features work. I see this in the accessibility logs:
Uncaught DOMException: Permission denied to access property "innerHeight" on cross-origin object
I figured its a CORS issue, but I guess the reason is that there's no port pass through mapped in the dtv3-8082 container.
Last edited by fargle on Saturday 23 January 2021 11:42, edited 1 time in total.
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Open another port in Dashticx container

Post by Lokonli »

I assume you followed the automatic install.

First stop the Dashticz container by executing the following In the Dashticz folder:

Code: Select all

make stop
In the Dashticz folder you find a file titled 'Makefile.ini'

Edit this file with the new port number.

Then:

Code: Select all

make start
fargle
Posts: 67
Joined: Tuesday 27 March 2018 17:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Open another port in Dashticx container

Post by fargle »

Thanks for the quick response, but that only allows changing the port that Dashticz runs on. Ended up installing Dashticz manually without the Docker image, and it went fine but the complexities of Apache2 defeated my integration attempts.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest