Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GravitySync - Syncing multiple pi-holes

Featured Replies

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 by DuzAwe

  • 3 months later...

@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.

  • 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.

  • 1 year later...

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>

 

ssh pihole docker.png

 

 

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 by dkerlee

  • 1 year later...

Has anyone found a way to run gravity sync alongside pihole in a docker image?

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:

  1. Open up a Unraid terminal
  2. 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

     

  3. Close the Unraid terminal
  4. In the browser navigate to:
    http://YourUNRAIDIP/LXCAddTemplate

    (of course you have to change YourUNRAIDIP to your Unraid IP address)

  5. 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.