[QUESTION] How to get automatic files refreshing with docker compose deployment ? #1824
Open
4 tasks done
Labels
🤷♂️ Question
[ISSUE] Further information is requested
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 thehtml
file to refresh the widget. I mustdocker compose down
thendocker compose up -d
to update the connected users and any modification in myhtml
file. For theconfig.yml
file, I mounted a volume to refresh automatically the configuration of the page and this works by linking myconfig.yml
to/app/user-data/conf.yml
. I tried to do the same for myhtml
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
The text was updated successfully, but these errors were encountered: