-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.netservices.yml
More file actions
44 lines (41 loc) · 969 Bytes
/
compose.netservices.yml
File metadata and controls
44 lines (41 loc) · 969 Bytes
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
version: '3.6'
networks:
rocktreff: {}
services:
# dhcpd
dhcpd:
container_name: dhcpd
image: networkboot/dhcpd:latest
network_mode: host
restart: always
volumes:
- ./dhcpd:/data
# pihole
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: always
ports:
- 53:53/tcp
- 53:53/udp
- 1337:80/tcp
environment:
TZ: Europe/Berlin
WEBPASSWORD: 13nimda37
VIRTUAL_HOST: pihole.local.rocktreff.de
labels:
- traefik.frontend.rule=Host:pihole.local.rocktreff.de
- traefik.port=80
volumes:
- ./pihole/etc/pihole:/etc/pihole/
- ./pihole/etc/dnsmasq.d:/etc/dnsmasq.d/
dns:
- 127.0.0.1
- 1.1.1.1
networks:
- rocktreff
extra_hosts:
- monitor.local.rocktreff.de:${HOST_IP}
- dashboard.local.rocktreff.de:${HOST_IP}
- pihole.local.rocktreff.de:${HOST_IP}
- unifi.local.rocktreff.de:${HOST_IP}