January 20, 20215 yr Is it possible to create this gravity-sync as a plugin or would it be better suited as a user script? I have added it manually and ran it with userscript a few times now. But Am aware that update will likely wipe it every time and it persisting between updates is likely dependent on a plugin. Edited January 20, 20215 yr by DuzAwe
April 28, 20215 yr @DuzAwe, were you able to get gravity-sync working against 2 pihole docker containers? I'm really interested in getting this setup and I'm having the hardest time figuring it out. Thanks for any info you have.
April 29, 20215 yr Author I had it set up as a script installing and running as a cron with Userscripts. Just follow the install instructions on the repo. I have stopped using it as I have issues with macvlan crashes since moving to 6.9.
November 21, 20223 yr I'm looking at this now. Following the posted instructions at the github it doesn't say anything about the lack of SSH in the docker. The dev says it does support docker (reddit), but mine has no SSH. Perhaps I should manually add ssh? Like this.? # which ssh # <returns nothing> This is funky "For both standard and container based Pi-hole deployments, Gravity Sync will run directly on the host OS and not inside of the container image." https://github.com/vmstan/gravity-sync/wiki/System-Requirements So I'd run the curl command just in the normal unRaid command prompt? That seems dodgy. Edited November 21, 20223 yr by dkerlee
March 26, 20242 yr You can do that already in a LXC container and I already have an image for that available, currently you have to install it manually but it is working and running on my system just fine. The advantage is that you don't have to change any ports for Unraid because the LXC container has it's own dedicated IP address and you can use keepalived (which is also preinstalled) for high availability, so to speak if one goes down another one automatically will jump in. https://github.com/ich777/unraid_lxc_pihole The only downside is that you can't download it through the CA App just yet but you can do it manually and the steps on how to do that are pretty easy: Open up a Unraid terminal Issue this command in there to download the template: wget -O /tmp/lxc_container_template.xml https://github.com/ich777/unraid_lxc_pihole/raw/main/lxc_container_template.xml Close the Unraid terminal In the browser navigate to: http://YourUNRAIDIP/LXCAddTemplate (of course you have to change YourUNRAIDIP to your Unraid IP address) Make your changes and deploy the image (wait until the done button is displayed) This will only work if you have the LXC plugin installed and configured properly! Just make sure to read the README.md in the linked repository, I think I have described everything in there.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.