2.7 KiB
2.7 KiB
Cloud Server Docker Contianers
Device -- Raspberry Pi 4
Information
This folder contains all of the services running on the Pi
Contents:
~/Docker
├── cloudflared/
├── dashy/
├── glances/
├── homarr/
├── nextcloud/
├── nginx/
├── portainer/
├── README.md
└── syncthing/
Current Ports:
81--> nginx proxy manager web ui2222--> gitea ssh3000--> gitea web ui7575--> homarr8000--> portainer8080--> nextcloud web ui8123--> home assistant web ui8181--> dashy8282--> ha bridge web ui8384--> syncthing web ui9443--> portainer web ui22000--> synthing50000--> ha bridge61208--> glances web ui
Current Web Paths:
szumko.net--> Home Assistantszumko.net/data--> glances *Currently Disabledpihole.szumko.net--> Piholegit.szumko.net--> Giteacloud.szumko.net--> nextcloud
Adding Subdomains:
- Go to cloudflare account and add a dns record for the subdomain
- Go to
~/docker/cloudflared/config.ymland add the ingress pointing to NPM - Create a proxy host in NPM pointing to container_name:port (must be on
homelabinternal network)
Adding Paths:
- Add path in NPM (must be on
homelab)
UFW Settings
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
22/tcp ALLOW IN 192.168.0.0/24 # LAN ssh
22/tcp on tailscale0 ALLOW IN Anywhere # Tailscle ssh
53,80,81,443,61208/tcp ALLOW IN 192.168.0.0/24 # LAN Access, 53 -> Pihole, 61208 -> glances
53,80,81,443,61208/udp ALLOW IN 192.168.0.0/24 # LAN Access, 53 -> Pihole, 61208 -> glances
53,80,81,443,61208/tcp on tailscale0 ALLOW IN Anywhere # Tailscale Access, 53 -> Pihole, 61208 -> glances
53,80,81,443,61208/udp on tailscale0 ALLOW IN Anywhere # Tailscale Access, 53 -> Pihole, 61208 -> glances
80/tcp ALLOW IN 172.16.0.0/12 # Docker networks (for calling pihole from NPM)
22/tcp (v6) on tailscale0 ALLOW IN Anywhere (v6) # Tailscale ssh (IPv6)
53,80,81,443,61208/tcp (v6) on tailscale0 ALLOW IN Anywhere (v6) # Tailscale Access (IPv6), 53 -> Pihole, 61208 -> glances
53,80,81,443,61208/udp (v6) on tailscale0 ALLOW IN Anywhere (v6) # Tailscale Access (IPv6), 53 -> Pihole, 61208 -> glances