I've just formatted my Pi's SD card to start again and I've now used the automatic install.
It worked well and dashticz is now running. I've never used docker before so it's all a little alien to me.
I'm just having an issue with the apache setup. I have additional scripts/directories that I used to run on apache but now I'm getting 403 forbidden errors if I try to access them.
I've checked file permissions, which look correct, so I guess it's some kind of ownership issue?
How can I resolve this?
Understanding Docker/Container setup
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 35
- Joined: Wednesday 28 November 2018 16:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Understanding Docker/Container setup
Also, I'm trying to find the php.ini file. Where can I find this?
So confused!
So confused!
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Understanding Docker/Container setup
By the automatic install a Docker container with Apache and PHP is started.
You can open a console in container by executing the following in the Dashticz folder:
Code: Select all
make login
/usr/local/etc/php in the Docker container. There is no php.ini file.
And also /usr/local/etc/php/conf.d for additional ini files.
If you want to set additional php settings, then I guess you have to modify Dockerfile, and create a file in /usr/local/etc/php/conf.d in the Docker container.
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Understanding Docker/Container setup
The 'normal' Apache server on your PI is running next to the Apache server in the Dashticz container.
Both use their own settings.
Both use their own settings.
-
- Posts: 35
- Joined: Wednesday 28 November 2018 16:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Understanding Docker/Container setup
Got it, thank you.
For my use, I think I'll stick with the manual installation as it seems to be a little more flexible.
Thanks again for taking the time to explain.
For my use, I think I'll stick with the manual installation as it seems to be a little more flexible.
Thanks again for taking the time to explain.
Who is online
Users browsing this forum: No registered users and 1 guest