Add ESPHome

This commit is contained in:
2025-07-14 22:50:09 +01:00
parent 372165067d
commit cb3d556d11
3 changed files with 73 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
# docker compose down --volumes
# docker compose up -d --remove-orphans
# sudo docker compose down --volumes
# sudo docker compose up -d --remove-orphans
name: server
@@ -97,6 +97,19 @@ services:
ports:
- "8123:8123"
esphome:
container_name: esphome
image: ghcr.io/esphome/esphome:latest
volumes:
- ${ESPHOME_CONFIG}:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
ports:
- "6052:6052"
env_file:
- .env
# openwakeword:
# image: homeassistant/amd64-addon-openwakeword:latest
# container_name: openwakeword
@@ -160,24 +173,24 @@ services:
restart: unless-stopped
# --- Pi-hole ---
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
# DNS Ports
- "53:53/tcp"
- "53:53/udp"
# Default HTTP Port
- "2100:80/tcp"
- "2101:443/tcp"
env_file:
- .env
volumes:
- "${PIHOLE}:/etc/pihole"
cap_add:
# Optional, if Pi-hole should get some more processing time
- SYS_NICE
restart: unless-stopped
# pihole:
# container_name: pihole
# image: pihole/pihole:latest
# ports:
# # DNS Ports
# - "53:53/tcp"
# - "53:53/udp"
# # Default HTTP Port
# - "2100:80/tcp"
# - "2101:443/tcp"
# env_file:
# - .env
# volumes:
# - "${PIHOLE}:/etc/pihole"
# cap_add:
# # Optional, if Pi-hole should get some more processing time
# - SYS_NICE
# restart: unless-stopped
# --- Nextcloud ---
nextcloud-aio-mastercontainer: