Skip to content

Instantly share code, notes, and snippets.

@whoo
Last active June 23, 2025 00:49
Show Gist options
  • Select an option

  • Save whoo/2373fabeef2603d3ff59897b43853e54 to your computer and use it in GitHub Desktop.

Select an option

Save whoo/2373fabeef2603d3ff59897b43853e54 to your computer and use it in GitHub Desktop.
DockerPiAssistant
### FOR RPi 1B
apt remove --purge \
build-essential gcc cpp g++ cpp-12 bluez-firmware \
ppp make mkvtoolnix avahi-daemon rpi-eeprom pigpio-tools \
tasksel-data strace \
linux-image-rpi-v7 linux-image-rpi-v7l \
linux-image-6.12.25+rpt-rpi-v7l \
linux-image-6.12.25+rpt-rpi-v7
apt autoremove --purge
services:
pihole:
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80"
hostname: pihole
environment:
TZ: "America/Toronto"
FTLCONF_webserver_api_password: "changeme"
FTLCONF_dns_listeningMode: 'all'
volumes:
- ./pihole:/etc/pihole
restart: unless-stopped
## ~1h to download and write image on RPI1B | ~600MB
## Remove all build-essential gcc cpp ...
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
hostname: homeassistant
environment:
TZ: "America/Toronto"
volumes:
- ./homeassistant:/config
network_mode: host
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment