Description
Question
I deployed dashy on my server using docker compose. I made my own widget which scans the connected users to my VPN. For that, I use an html
page which reads in a .json
file where all the connected users are stored. This .json
is refreshed every 5 minutes. The issue is dashy isn't refreshing automatically the html
file to refresh the widget. I must docker compose down
then docker compose up -d
to update the connected users and any modification in my html
file. For the config.yml
file, I mounted a volume to refresh automatically the configuration of the page and this works by linking my config.yml
to /app/user-data/conf.yml
. I tried to do the same for my html
file by mounting a volume in /app/public
but it doesn't work. My question is : how to get dashy refreshing automatically some files we have selected placed in a certain folder ? I didn't any answer to that question with docker compose in the documentation, neither in the issues, nor in chatgpt. Thanks.
Here is the docker-compose.yml file I use :
docker-compose.txt
Category
Setup and Deployment
Please tick the boxes
- You are using a supported version of Dashy (check the first two digits of the version number)
- You've checked that this question hasn't already been raised
- You've checked the docs and troubleshooting guide
- You agree to the code of conduct