forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dns.yml
41 lines (34 loc) · 1.16 KB
/
docker-compose-dns.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.9"
########################### ANAND'S ENVIRONMENT
# Here are my 5 Docker Hosts:
# - Home Server (hs) - Proxmox LXC with Ubuntu Server 22.04
# - Media / Database Server (mds) - Proxmox LXC with Ubuntu Server 22.04
# - Web Server (ws) - Digital Ocean VPS with Ubuntu Server 22.04
# - Synology (ds918) - Synology DS918+
# - DNS / AdBlock Server (dns) - Raspberry Pi 4B with Raspberry Pi OS
########################### THIS COMPOSE FILE
# - DNS / AdBlock Server (dns) - Raspberry Pi 4B with Raspberry Pi OS
# - Prefix/suffix "dns" refers to the above host
# - Docker version 24.0.7, build afdd53b
# - Docker Compose version v2.21.0
########################### NETWORKS
# You may customize the network subnets (192.168.x.0/24) below as you please.
networks:
rpi4b:
name: rpi4b
driver: bridge
ipam:
config:
- subnet: 192.168.101.0/24
default:
driver: bridge
include:
########################### SERVICES
# PREFIX dns = DNS / AdBlock Server
# AD-BLOCKING
- compose/$HOSTNAME/adguardhome.yml
- compose/$HOSTNAME/adguardhome-sync.yml
# DNS RESOLVER
- compose/$HOSTNAME/unbound.yml
# VPN
#- compose/$HOSTNAME/wg-easy.yml