Replies: 3 comments 3 replies
-
Hi @servebeer , Could you please let me know where you've found those plugins? I can then write up a guide on how to deploy them in the docker container. In theory, you should be able to mount the directory to:
The plugin structure should follow: https://github.com/jokob-sk/Pi.Alert/blob/main/front/plugins/README.md#plugin-file-structure-overview |
Beta Was this translation helpful? Give feedback.
-
@jokob-sk thanks for the offer. Somehow I misplaced the link for the particular plug in that I am interested in. It might be on work computer, so I will check tomorrow and let you know. |
Beta Was this translation helpful? Give feedback.
-
There's also the option to copy plugins at container startup. Somewhat a bit of a hack, but seems working well. That way, you can also overwrite existing plugins (if you wanted to) docker-compose:
|
Beta Was this translation helpful? Give feedback.
-
This is probably a dumb question, but as I am new to Docker and Pi.Alert, here it goes. I have Pi.Alert (tag: jokobsk/pi.alert:latest) running as a Docker image on my Unraid server. It appears to be running fine. I have found some plugins that I would like to try, but I am not sure that they will work in a Docker image because, if I understand correctly, everything added to the original image will be deleted at the next reboot? Now I know there is a way to save some persistent data (i.e. config files, db, etc), so I would think that this could be done for plugins too. Is there an environment variable that contains the path to the plugins directory? If so, I could add this variable to my image, create the folder on persistent storage, and hopefully get the plugins working.
Beta Was this translation helpful? Give feedback.
All reactions