mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 21:25:26 +09:00
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
74 lines
1.5 KiB
YAML
74 lines
1.5 KiB
YAML
id: zigbee2mqtt
|
|
name: Zigbee2MQTT
|
|
version: "1.35"
|
|
description: Bridge Zigbee devices to MQTT without proprietary bridges or gateways
|
|
icon: https://serverkit.ai/imgs/template-icons/zigbee2mqtt.png
|
|
website: https://www.zigbee2mqtt.io
|
|
documentation: https://www.zigbee2mqtt.io/guide/getting-started/
|
|
categories:
|
|
- home-automation
|
|
- iot
|
|
- zigbee
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
description: HTTP port for web UI
|
|
type: port
|
|
default: "8080"
|
|
hidden: true
|
|
- name: MQTT_SERVER
|
|
description: MQTT server URL
|
|
default: mqtt://mosquitto
|
|
required: true
|
|
- name: SERIAL_PORT
|
|
description: Zigbee adapter serial port
|
|
default: /dev/ttyUSB0
|
|
required: true
|
|
|
|
ports:
|
|
- port: 8080
|
|
protocol: tcp
|
|
description: Web interface
|
|
|
|
volumes:
|
|
- name: data
|
|
path: /app/data
|
|
description: Zigbee2MQTT data
|
|
|
|
requirements:
|
|
memory: 512MB
|
|
storage: 2GB
|
|
|
|
compose:
|
|
services:
|
|
zigbee2mqtt:
|
|
image: koenkk/zigbee2mqtt:${VERSION:-1.35.0}
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=UTC
|
|
volumes:
|
|
- zigbee2mqtt_data:/app/data
|
|
- /run/udev:/run/udev:ro
|
|
devices:
|
|
- ${SERIAL_PORT}:/dev/ttyUSB0
|
|
ports:
|
|
- "${HTTP_PORT}:8080"
|
|
|
|
volumes:
|
|
zigbee2mqtt_data:
|
|
|
|
post_install: |
|
|
# Create configuration
|
|
cat > /var/serverkit/apps/${APP_NAME}/data/configuration.yaml << 'EOF'
|
|
homeassistant: true
|
|
permit_join: false
|
|
mqtt:
|
|
base_topic: zigbee2mqtt
|
|
server: ${MQTT_SERVER}
|
|
serial:
|
|
port: /dev/ttyUSB0
|
|
frontend:
|
|
port: 8080
|
|
EOF
|