-
-
Notifications
You must be signed in to change notification settings - Fork 630
/
docker-compose-dns.yml
64 lines (57 loc) · 1.84 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
########################### 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:
default:
driver: bridge
socket_proxy:
name: socket_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.91.0/24
t2_proxy:
name: t2_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.90.0/24
########################### SECRETS
secrets:
basic_auth_credentials:
file: $DOCKERDIR/secrets/basic_auth_credentials
cf_dns_api_token:
file: $DOCKERDIR/secrets/cf_dns_api_token
traefik_forward_auth:
file: $DOCKERDIR/secrets/traefik_forward_auth
include:
########################### SERVICES
# PREFIX dns = DNS / AdBlock Server
# CORE
- compose/$HOSTNAME/socket-proxy.yml
- compose/$HOSTNAME/traefik.yml
# - compose/$HOSTNAME/oauth.yml
# AD-BLOCKING
#- compose/$HOSTNAME/adguardhome.yml
#- compose/$HOSTNAME/adguardhome-sync.yml
# DNS RESOLVER
#- compose/$HOSTNAME/unbound.yml
# VPN
# - compose/$HOSTNAME/wg-easy.yml
# MONITORING
# - compose/$HOSTNAME/glances.yml
# MAINTENANCE
# - compose/$HOSTNAME/docker-gc.yml # not available for arm
- compose/$HOSTNAME/ddns-updater.yml
# - compose/$HOSTNAME/certdumper.yml