Skip to content

Commit b6d5b46

Browse files
committed
feat!: add PiHall
Introducing Raspberry Pi 3 to act as the PiHall Raspberry Pi running PiHole and tailscale Signed-off-by: Scott Gibb <smgibb@yahoo.com>
1 parent b16d135 commit b6d5b46

6 files changed

Lines changed: 43 additions & 40 deletions

File tree

PiHall/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Pi Hall Docker Stack
2+
3+
## Summary
4+
5+
For the Hall Pi, the following docker stacks are enabled:
6+
7+
- utils
8+
- tailscale
9+
10+
## Usage
11+
12+
To start all services:
13+
14+
```bash
15+
docker compose up -d
16+
```
Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
11
---
2-
name: networking
2+
# Main docker-compose file for PiHall
3+
4+
name: pihall
5+
6+
include:
7+
- ../utils/docker-compose.yml
38

4-
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
59
services:
10+
tailscale:
11+
image: tailscale/tailscale:latest
12+
hostname: tailscale
13+
container_name: Tail-Scale
14+
environment:
15+
- TS_AUTHKEY=${TAILSCALE_AUTH_KEY}
16+
- TS_EXTRA_ARGS=${TAILSCALE_EXTRA_ARGS}
17+
- TS_STATE_DIR=/var/lib/tailscale
18+
- TS_USERSPACE=false
19+
volumes:
20+
- ${PWD}/tailscale/state:/var/lib/tailscale
21+
devices:
22+
- /dev/net/tun:/dev/net/tun
23+
cap_add:
24+
- net_admin
25+
- sys_module
26+
restart: unless-stopped
27+
network_mode: "host"
28+
629
pihole:
730
container_name: pihole
831
image: pihole/pihole:latest
@@ -11,10 +34,9 @@ services:
1134
- "53:53/tcp"
1235
- "53:53/udp"
1336
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
14-
- "1080:80/tcp"
37+
- "80:80/tcp"
1538
environment:
1639
TZ: "Europe/London"
17-
WEBPASSWORD: "Admin"
1840
# Volumes store your data between container upgrades
1941
volumes:
2042
- type: bind

PiHome/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
NGINX_CONF_PATH="/home/pi/Home-Lab-Containers/PiHome/Networking/nginx.conf"
1+
NGINX_CONF_PATH="/home/pi/Home-Lab-Containers/PiHome/Config/nginx.conf"
22
NGINX_HOST=192.168.0.68
33
NGINX_PORT=80

PiHome/Networking/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,6 @@ http {
1818
location / {
1919
proxy_pass http://192.168.0.68:3001;
2020
}
21-
}
22-
server {
23-
listen 80;
24-
server_name pihole.home;
25-
26-
location / {
27-
proxy_pass http://192.168.0.68:1080/admin;
28-
}
29-
30-
31-
}
32-
# server {
33-
# listen 80;
34-
# server_name home-assistant.home;
35-
#
36-
# location / {
37-
# proxy_pass http://192.168.0.68:8123;
38-
# }
39-
#
40-
#
41-
# }
42-
server {
43-
listen 80;
44-
server_name firefly.home;
45-
46-
location / {
47-
proxy_pass http://192.168.0.68:8080;
48-
}
49-
50-
5121
}
5222
server {
5323
listen 80;

0 commit comments

Comments
 (0)