- docker
-
Copy
.env.example
into.env
-
Edit
.env
and create new secrets, make sureZIGBEE_USB_PATH
match your usb key:
ls /dev/serial/by-id/
- Remove the file
postgres/data/.gitkeep
Postgres won't start if his data folder is not empty
- Edit
caddy/Caddyfile
and make it match your dns setup
# If you don't have dns pointing to your server, add this entries in your laptop /etc/hosts
# 127.0.0.1 if you are running locally or 192.168.xx.xx if it's a remote server
127.0.0.1 server.home
127.0.0.1 influxdb.home
127.0.0.1 zigbee2mqtt.home
- Start the stack
docker compose up -d
- Watch the logs
docker compose logs -f
- Access your url : http://server.home