Initial vault setup
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
---
|
||||
title: Gravity
|
||||
created: 2026-06-06
|
||||
updated: 2026-06-06
|
||||
type: app
|
||||
tags: [catalogue, ad-block, dns, dhcp, go]
|
||||
confidence: medium
|
||||
contested: false
|
||||
sources: [https://selfh.st/apps/?tag=Ad+Block, https://gravity.beryju.io/]
|
||||
---
|
||||
# 🛡️ Gravity
|
||||
|
||||
> **DNS et DHCP server** avec blocage de pub, alternative moderne à Pi-hole/AdGuard Home. Écrit en Go par BeryJu.org.
|
||||
|
||||
## 📋 Informations Générales
|
||||
|
||||
| Champ | Valeur |
|
||||
| :--- | :--- |
|
||||
| **Site web** | [gravity.beryju.io](https://gravity.beryju.io/) |
|
||||
| **GitHub** | [beryju/gravity](https://github.com/beryju/gravity) |
|
||||
| **License** | GPL-3.0 |
|
||||
| **Langage** | Go |
|
||||
| **Étoiles GitHub** | 924 ⭐ |
|
||||
| **Dernière MAJ** | 2026-06-05 |
|
||||
| **Catégorie** | [[cat-ad-block|Ad Block]], DNS, DHCP |
|
||||
|
||||
## 📝 Description
|
||||
|
||||
**Gravity** est un **DNS/DHCP server avec ad-blocking**, écrit en Go par BeryJu (la même équipe que **Authelia**, l'authentification SSO). Il combine :
|
||||
|
||||
- ✅ **Serveur DNS** avec blocage de pub
|
||||
- ✅ **Serveur DHCP** intégré
|
||||
- ✅ **REST API** complète
|
||||
- ✅ **UI web** moderne (Vue.js)
|
||||
- ✅ **Logs temps réel**
|
||||
- ✅ **Multi-instance** pour HA
|
||||
- ✅ **OpenID/OIDC** pour login admin
|
||||
- ✅ **Métriques Prometheus**
|
||||
|
||||
**Différence avec Pi-hole/AdGuard Home** : Gravity est **plus API-centric** (conçu pour être scripté), et inclut nativement l'authentification externe.
|
||||
|
||||
## 🚀 Installation
|
||||
|
||||
### Docker Compose
|
||||
|
||||
```yaml
|
||||
# docker-compose.yml
|
||||
version: '3.8'
|
||||
services:
|
||||
gravity:
|
||||
container_name: gravity
|
||||
image: ghcr.io/beryju/gravity:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "8009:8009/tcp" # Web UI + API
|
||||
environment:
|
||||
TZ: 'Europe/Paris'
|
||||
volumes:
|
||||
- ./data:/data
|
||||
```
|
||||
|
||||
## ⚙️ Configuration
|
||||
|
||||
1. Accéder à `http://IP:8009`
|
||||
2. Setup wizard : admin user/password
|
||||
3. Configurer upstream DNS
|
||||
4. Activer les listes de blocage
|
||||
5. (Optionnel) Configurer le DHCP
|
||||
|
||||
## 🔄 Alternatives
|
||||
|
||||
### Open Source
|
||||
- [[app-pihole]] — Plus populaire
|
||||
- [[app-adguard-home]] — Plus ergonomique
|
||||
- [[app-technitium-dns]] — Plus complet
|
||||
- [[app-blocky]] — Plus léger
|
||||
|
||||
### Points forts de Gravity
|
||||
- **API REST** : plus adapté à l'automatisation
|
||||
- **OIDC intégré** : s'authentifier via Keycloak/Authelia
|
||||
- **Multi-instance** : conçu pour HA
|
||||
|
||||
### Points faibles
|
||||
- **Moins populaire** (924 ⭐ vs 35k+)
|
||||
- **Moins de documentation** communautaire
|
||||
- **Plus jeune** (projet 2022+)
|
||||
|
||||
## Pages Liées
|
||||
- [[cat-ad-block]] — Catégorie Ad Block
|
||||
- [[app-adguard-home]] — Concurrent plus mature
|
||||
- [[app-pihole]] — Standard de fait
|
||||
Reference in New Issue
Block a user