How to start Domoticz with --no-cache in docker compose? Topic is solved
Moderator: leecollings
-
BarryT
- Posts: 385
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
How to start Domoticz with --no-cache in docker compose?
Hi all,
i do not want to use the cache function of domoticz at all, but i can't find a way to disable this.
I'm using domoticz from docker compose (portainer).
thanks!
i do not want to use the cache function of domoticz at all, but i can't find a way to disable this.
I'm using domoticz from docker compose (portainer).
thanks!
- jvdz
- Posts: 2441
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
You mean the parameters you can define for env variable EXTRA_CMD_ARG? Just check the docker wiki page.
-
BarryT
- Posts: 385
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
Nice answer, i'll Check. Thanks!jvdz wrote: Thursday 20 November 2025 20:23 You mean the parameters you can define for env variable EXTRA_CMD_ARG? Just check the docker wiki page.
Its for Docker, not Docker compose?
- jvdz
- Posts: 2441
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
Docker/docker compose is the same thing, just a different way to configure the stack/Container, like you do with portainer. 
-
BarryT
- Posts: 385
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
I was hoping it was that easy, but:jvdz wrote: Thursday 20 November 2025 21:12 Docker/docker compose is the same thing, just a different way to configure the stack/Container, like you do with portainer.![]()
Code: Select all
environment:
- TZ=Europe/Amsterdam
- WWW_PORT=80
- SSL_PORT=0
- loglevel=error
- EXTRA_CMD_ARG=--no-cache
- jvdz
- Posts: 2441
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
It is, but is the "-no-cache" a valid parameter? This is what the wiki states: https://wiki.domoticz.com/Command_line_parameters.
Isn't the "-no-cache" a parameter for your browser on your the computer?
-
BarryT
- Posts: 385
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
No, Domoticz has an no-cache command line parameter, and all these commands are working correctly inside docker compose, but the no-cache is not working. I tried -nocache, --nocache, -no-cache, but nothing works.jvdz wrote: Friday 21 November 2025 8:51It is, but is the "-no-cache" a valid parameter? This is what the wiki states: https://wiki.domoticz.com/Command_line_parameters.
Isn't the "-no-cache" a parameter for your browser on your the computer?
Our Docker is respecting all the parameters, except the nocache.:
Code: Select all
environment:
- TZ=Europe/Amsterdam #WORKS
- WWW_PORT=80 #WORKS
- SSL_PORT=0 #WORKS
- loglevel=error #WORKS
- nocache #NOT WORKING
- no-cache #NOT WORKING
- --nocache #NOT WORKING
- --no-cache #NOT WORKING
- nocache=true #NOT WORKING-
BarryT
- Posts: 385
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
Ah, now its working with this environment:jvdz wrote: Friday 21 November 2025 8:51It is, but is the "-no-cache" a valid parameter? This is what the wiki states: https://wiki.domoticz.com/Command_line_parameters.
Isn't the "-no-cache" a parameter for your browser on your the computer?
Code: Select all
- EXTRA_CMD_ARG=-nocache- waltervl
- Posts: 6676
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
And the nocache option was added in the code in 2023 but not documented in the wiki, now it is....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
BarryT
- Posts: 385
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
Re: How to start Domoticz with --no-cache in docker compose?
Great! Thats why i couldnt find..waltervl wrote: Friday 21 November 2025 18:42 And the nocache option was added in the code in 2023 but not documented in the wiki, now it is....
Thanks both, have a good weekend
Who is online
Users browsing this forum: No registered users and 1 guest