A simple tool for merging and deduplicating DNS filters. Created By Berkay Raifov for cleaner web.
3.6K
You can run synth-dns using either Docker Run or Docker Compose.
docker run -d \
--name synth-dns \
-p 8000:8000 \
-e SYNTH_DNS_EXTERNAL_DEDUPE=1 \
-e SYNTH_DNS_BUCKETS=128 \
-v $(pwd)/data:/app/data \
--restart unless-stopped \
b3rkay/synth-dns:latest
Create a docker-compose.yml file:
services:
synth-dns:
image: b3rkay/synth-dns:latest
container_name: synth-dns
ports:
- "8000:8000"
environment:
- SYNTH_DNS_EXTERNAL_DEDUPE=1 # Disk-based Deduplication
- SYNTH_DNS_BUCKETS=128 # Disk Dedup Bucket Count
volumes:
- ./data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "bash -c 'cat < /dev/null > /dev/tcp/127.0.0.1/8000' || exit 1"]
interval: 15s
timeout: 5s
retries: 3
start_period: 5s
| Variable | Default | Description |
|---|---|---|
| SYNTH_DNS_EXTERNAL_DEDUPE | 1 | Enables disk-based deduplication instead of keeping everything in memory. |
| SYNTH_DNS_BUCKETS | 128 | Sets the number of buckets used for disk deduplication; more buckets mean more files/IO, fewer buckets mean less. |
Content type
Image
Digest
sha256:b9feec26f…
Size
32.2 MB
Last updated
6 months ago
docker pull b3rkay/synth-dns