This commit is contained in:
2025-01-20 05:17:52 -06:00
commit 59d3f23b05
2 changed files with 125 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.DS_Store

123
docker-compose.yaml Executable file
View File

@@ -0,0 +1,123 @@
version: '3'
services:
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9076:8080
nginx:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- /docker/nginx/data:/data
- /docker/nginx/letsencrypt:/etc/letsencrypt
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
environment:
- PUID=0
- PGID=0
volumes:
- /docker/zigbee/data:/app/data
devices:
- /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_aea84a303a93eb11b3b61b4f3d98b6d1-if00-port0:/dev/ttyACM0
ports:
- '8080:8080'
restart: always
network_mode: host
zwavejs2mqtt:
container_name: zwavejs2mqtt
image: zwavejs/zwavejs2mqtt:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- PUID=0
- PGID=0
- TZ=America/Chicago
devices:
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'
volumes:
- /docker/zwavejs:/usr/src/app/store
ports:
- '8091:8091' # port for web interface
- '3000:3000' # port for Z-Wave JS websocket server
rtl433:
container_name: rtl433
image: hertzg/rtl_433:latest
restart: always
devices:
- '/dev/bus/usb'
command:
- '-R 97'
- '-R 20'
- '-Mtime:unix:usec:utc'
- '-Mbits'
- '-Mlevel'
- '-Mprotocol'
- '-Mstats:2:300'
- '-Fmqtt://192.168.1.247:1883,devices=rtl_433[/model][/id]'
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: always
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "9080:80/tcp"
environment:
TZ: 'America/Chicago'
WEBPASSWORD: 'pihole'
# Volumes store your data between container upgrades
volumes:
- '/docker/pihole/pihole/:/etc/pihole/'
- '/docker/pihole/dnsmasq/:/etc/dnsmasq.d/'
# Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN
ecowitt2mqtt:
image: bachya/ecowitt2mqtt
container_name: ecowitt2mqtt
environment:
# LOG_LEVEL: INFO
ECOWITT2MQTT_ENDPOINT: /data/report
ECOWITT2MQTT_HASS_DISCOVERY: "true"
ECOWITT2MQTT_PORT: 8080
ECOWITT2MQTT_MQTT_BROKER: 192.168.1.247
ECOWITT2MQTT_MQTT_PORT: 1883
# MQTT_PASSWORD: password
# MQTT_USERNAME: ecowitt
ECOWITT2MQTT_MQTT_TOPIC: "weather/ecowitt"
ports:
- "8087:8080/tcp"
restart: always
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
codeprojectai:
image: codeproject/ai-server:rpi64
container_name: codeprojectai
restart: always
deploy:
resources:
limits:
memory: 1.5G
ports:
- "32168:32168"